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
ReflectionParameter::getDocComment(): PHP 8.6 Finally Reads Parameter Docs
PHP 8.6 lets you hang a doc comment on a single parameter and read it back with reflection. That kills the description you've been writing twice — once for humans, once for the machine.
Your Search Engine Found It at Position 14: Re-Ranking Scout Results with Jev
Scout found the right document. It put it at position 14. Here's the re-ranking pass that fixes the order without touching the index.
Stop String-Concatenating URLs: PHP 8.6's UriBuilder
Every Laravel app has a method that bolts a path and a query onto a URL it did not generate, and it is always subtly wrong. PHP 8.6 finally gives the language a typed way to do it.