Here’s an example command to generate a model with a migration and a controller: php artisan make:model MyModel -mc You can find a full list of available flags by running: php artisan make:model --help