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
Jev State Design in Laravel: What to Send, What to Trim, and Why 32K Matters
Jev bills the state you send and gives the answers away free, so state size is the whole bill. Here's the JevState builder that keeps it small, deliberate and testable.
Choosing Jev Confidence Thresholds in Laravel: Tune Them From a Labelled Sample, Not a Guess
Every Jev tutorial tells you to act above 0.9. None of them say where 0.9 came from. Here is the artisan command that derives your number from a hundred labelled rows.
spl_object_hash, is_integer and Friends: Clearing PHP 8.6's Deprecated Aliases from Laravel
Most of PHP 8.6's deprecated aliases are a find-and-replace. spl_object_hash() is not — swapping it for spl_object_id() changes a lifetime guarantee that some code quietly depends on.