Artisan command to use model instance in controller actions in Laravel
January 11, 2021 — Here’s a little tip about the artisan command that generates the controller. So, if you’ve used the make:controller command with the --resource option, it will generate controllers with create, read, update, and delete (“CRUD”) actions in them.