TAG ARCHIVE
Everything on reflection.
2 articles tagged reflection, sorted newest first.
php
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
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 →