PinnedGeni Jaho·Sep 25, 2022Safely upgrade from PHP 7.4 to 8.1 using RectorI have to say it from the start, the only thing that comes close to safely upgrading a codebase is having a solid set of automated tests…A response icon1A response icon1
PinnedGeni Jaho·Aug 31, 2022Upping the coding style game in PHP using RectorRector has a catalog of refactorings ready for us to consume and expand upon.A response icon1A response icon1
PinnedGeni Jaho·Jul 17, 2021Refactoring #1: Using ternary and null coalescing operators in PHPUnnecessary long syntax, endless chaining of if conditions, and a redundant nested code. Let’s see how it can be improved.
Geni Jaho·May 17, 2025Simplifying work with custom stubs in LaravelStubs are fake implementations of interfaces or classes that simulate the behavior of real services.
Geni Jaho·Sep 17, 2023Upgrading to Laravel 10, PHPUnit 10, and Pest 2We’re upgrading from Laravel 9 to 10, and PHPUnit 9 to 10, and, if all goes well, we’ll top it off by migrating to Pest, the latest…
Geni Jaho·Jun 20, 2023Speed up GitHub Actions by caching Composer, Rector, & PintGitHub’s 2000 minutes per month of free usage of GitHub Actions is usually enough to handle light workflows. However, as more tech is run…A response icon1A response icon1
Geni Jaho·Apr 9, 2023Doing stricter checks in PHPA nice refactoring I’ve learned recently is to utilize types in conditionals.A response icon1A response icon1
Geni Jaho·Feb 26, 2023Upgrading to Eloquent accessors & mutators from Laravel 9Laravel 10 is making the headlines these days. However, many apps are stuck in older versions, or at least still use the syntax and methods…
Geni Jaho·Feb 1, 2023Development Driven Testing, or testing after the fact.As developers, we lose a lot of benefits by testing after the fact.
Geni Jaho·Jan 22, 2023Allowing users to send emails with their own SMTP settings in Laravel 9We will extend the Laravel framework with very minimal modifications. Using custom SMTP settings is really easy to achieve.