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
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
CTO & Founder | DevOps | Web Architect | Full Stack | PHP, Laravel, Codeigniter, MySQL, PostgreSQL, SQL, Docker, Kubernetes, AWS, GCS, Azure, NodeJS, Socket, CICD