Useful commands

Symfony and other commands that will help you with development

Controllers

Create Controller

$ bin/console make:controller
> InitControler

Entities and Migrations

Create Entity

$ bin/console make:entity

Create Migration (Difference)

$ bin/console doctrine:migrations:diff

Run Migration

$ bin/console doctrine:migrations:migrate

Last updated