Skip to main content

Symfony Maker Bundle

Symfony Maker Bundle is a tool that helps you create controllers, form classes, tests and more so you can forget about writing boilerplate code.

Making a Controller

To create a new controller, run the following command:

symfony console make:controller

If you want to create a controller with a specific name, run the following command:

symfony console make:controller MyController

Making a Form

To create a new form, run the following command:

symfony console make:form

If you want to create a form with a specific name, run the following command:

symfony console make:form MyForm

Making a Entity

To create a new entity, run the following command:

symfony console make:entity

If you want to create a entity with a specific name, run the following command:

symfony console make:entity MyEntity

Making a Test

To create a new test, run the following command:

symfony console make:test

Making a Command

To create a new command, run the following command:

symfony console make:command

Make a CRUD

To create a new CRUD, run the following command:

symfony console make:crud