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