Laravel

Saturday 14th October 2023

How to speed up your Laravel test suite by using the GitHub Actions cache

When you're working in software development, especially if you are part of a team, it's good practice to implement Continuous Integration "CI"; continually running your test suite after each...

Read

Sunday 9th July 2023

How to add an index in a Laravel migration

Adding an index in a Laravel migration is a one-liner. Choosing the right type of index is where it gets more interesting, and where MySQL can quietly ignore what you asked for.

Read

Saturday 22nd May 2021

Using MySQL error messages to ensure randomly generated strings are unique

For my home project GoStatic each deployment has a unique, randomly generated URL. Example: https://er34oltia2yqkyvl.gostatic.app The URL is generated using Laravel's Str::random()...

Read