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