laravel create model factory and controller code example Example: laravel make model with migration and controller php artisan make:model Todo -mcr