SR
Steven Richardson
About Articles. Skills Tools
Articles › reflection
TAG ARCHIVE

Everything on reflection.

3 articles tagged reflection, sorted newest first.

php August 1st, 2026

PHP 8.5 Attributes on Constants: A Real Deprecation Path at Last

PHP 8.5 finally lets attributes target global constants, so #[\Deprecated] works on them — and on traits. Here is what actually changed, and what will break if you ship it too early.

7 min read →
php June 9th, 2026

PHP 8.4 Lazy Objects: Defer Expensive Initialization in Laravel

You inject a heavy service into a controller, the container builds it on every request, and half your routes never touch it. PHP 8.4 lazy objects let you defer that cost until the object is actually used.

7 min read →
php May 3rd, 2026

PHP Custom Attributes in Practice: Beyond Laravel's Built-ins

Laravel 13 ships dozens of built-in PHP attributes, but the docs are quiet on building your own. Here are the patterns I use in production for validation, auth, and auto-discovery.

10 min read →
← Back to all articles
SR
Steven Richardson

CTO at Digitonic. Writing notes on Laravel, architecture, and the craft of leading software teams — from the west coast of Scotland.

Site

Home About Articles Skills Tools

Elsewhere

GitHub LinkedIn X RSS
© 2026 Steven Richardson
Terms Privacy Built with Laravel + Tailwind