When distributing console commands in a package or within an application, making sure data is in the correct format can be important. Let’s build a make:user command that takes advantage of Laravel’s validation helpers.
PHP
PHP Attributes: What, Why, How and When
A deep dive into PHP attributes, from metadata and Reflection to practical design patterns, Laravel examples, performance, testing, and the cases where explicit code is better. Read more