MySQL Database Migration to a Remote Server from a .gz mysqldump file

Some bugs only appear when your web application is truly tested out in production. The actual use cases of your data structure may differ from what you imagined, so make a dump of the prod DB and play around on a development server....

July 1, 2023 · 12 min · Sam Anglin

How to test protected functions with PHPUnit in your Laravel app

An essential part of developing an app is testing your code. My preferred method of testing my Laravel code is using PHPUnit and this is how I use reflection to test those 'harder to reach' protected and private methods inside classes....

May 13, 2023 · 5 min · Sam Anglin

Space is the Place: Reasons to explore Twitter Spaces

Space! The Final Frontier... but what if it is the beginning? Twitter spaces are a great way to meet and trade ideas with people from across the globe from the comfort of your sofa!...

March 28, 2023 · 8 min · Sam Anglin

3 things the best senior developers do

Working under the care of a more experienced developer can make or break a junior developer's career. Here are 3 things the best senior developers do....

March 24, 2023 · 7 min · Sam Anglin

Common Function Comparisons in PHP

How do you decide between two functions that, at a glance, seem to do the same thing? Let's pick apart the differences to try and make it easier....

March 4, 2023 · 7 min · Sam Anglin