Geni Jaho
Geni Jaho's Blog

Geni Jaho's Blog

Follow

Doing stricter checks in PHP

Apr 8, 20233 min read 832 views

A nice refactoring I've learned recently is to utilize types in conditionals. For years I’ve been doing if (!empty($posts)), but Rector, a tool to...

Doing stricter checks in PHP
Upgrading to Eloquent accessors & mutators from Laravel 9
Development Driven Testing
Allowing users to send emails with their own SMTP settings in Laravel 9
Safely upgrade from PHP 7.4 to 8.1 using Rector
Refactoring #8: What is dead may never run