laravel command --mcr code example
Example 1: laravel make model with migration and controller
php artisan make:model Todo -mcr
Example 2: laravel create model controller and migration on line
php artisan make:model Todo -a
php artisan make:model Todo -mcr
php artisan make:model Todo -a