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
The post is good, but the image needs to be changed because the command comments are repeated, lol.
The command relating to generating a seed and generating a controller with a resource, are commented on the command that generates migrate
Thank you for feedback, you can see our recent post, we post code in raw format, so it is well accessible