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

How to Unlock Formkit Multistep forms on a Laravel Inertia app with Vue 3

Formkit offers a great Multi-Step tool for building forms in your Vue app, but getting it to work inside a Laravel Inertia app is a little tricky. Here is how to get it running....

March 9, 2023 · 4 min · Sam Anglin

3 ways to read input with a Go CLI

Tutorial with examples showing 3 different ways to read user input when building a command line interface (CLI) with Go...

February 23, 2023 · 7 min · Sam Anglin