Read about how to use the IlluminateConsoleProhibitable trait to prevent destructive commands from running in your Laravel application. We’ll also look at how to prevent your own custom Artisan commands from running using this trait.
PHP
Eloquent Query Classes Pattern
Learn how to use Eloquent Query Classes to organize important database logic in Laravel without adding a full repository layer. Read more