php artisan make new model with migration and controller code example
Example 1: laravel make model with migration and controller
php artisan make:model Todo -mcr
Example 2: laravel make model and migration
php artisan make:model Settings -m
php artisan make:model Todo -mcr
php artisan make:model Settings -m