Symfony 7 · Code generation (MakerBundle)
Generate CRUD for an entity
Create a controller, form and templates for an entity.
php bin/console make:crud Product
Official Symfony 7 documentation
More code generation (makerbundle) commands
- Install MakerBundle
- Create a controller
- Create or update an entity
- Create a form type
- Create a user class
- Create a login form
All code generation (makerbundle) commands · Symfony 7 cheatsheet