Adding meta data using attributes
Attributes are often known as annotations in other languages. PHP has built-in support for them since PHP 8.
- Front Line PHP: the book that explains all PHP 8 features and modern PHP in depth
- spatie/laravel-route-attributes: the sample package from the video
- The attributes RFC