Engineering,
taught
&
leadership,
practised.
I'm Steven — CTO at Digitonic, a PHP engineer since 2010 and a keen golfer with a terrible handicap. This is where I write it all down.
Latest from the journal
Clearing Livewire Validation Errors From JavaScript With $errors.clear()
Livewire 4.2 lets the browser drop a stale validation message without a server round trip. Here is the narrow way to use it, and why it is not resetValidation().
PHP 8.6 Changes What trim() Strips, and Your Validation Rules Might Notice
PHP 8.6 adds form feed to the default character list of trim() — the first change to that list in the language's history. Laravel's middleware already handled it. The validator did not.
Make It Print: Tailwind v4 Print Styles for Documents People Actually Print
The print: variant hides the nav in one pass. Page breaks, @page margins and dropped background colours are the part nobody writes, and they are what makes a printout readable.