Symfony Command Cheat Sheet
General Commands
Clear Cache: php bin/console cache:clear
Check Symfony Version: php bin/console -V
List Available Commands: php bin/console list
Database Commands
Create Database: php bin/console doctrine:database:create
Drop Database: php bin/console doctrine:database:drop --force
Create Database Schema: php bin/console doctrine:schema:create
Update Schema: php bin/console doctrine:schema:update --force
Generate Migrations: php bin/console doctrine:migrations:diff
Execute Migrations: php bin/console doctrine:migrations:migrate
Doctrine Commands
Load Fixtures: php bin/console doctrine:fixtures:load
Generate Entity: php bin/console make:entity
Generate Migration: php bin/console make:migration
Security & Authentication
Create User: php bin/console make:user
Generate a Controller: php bin/console make:controller
Development Commands
Serve the Application: php bin/console server:start
Make a Service: php bin/console make:service
Make a Command: php bin/console make:command
Symfony Profiler & Debugging
Debug Container: php bin/console debug:container
Debug Container (with tags): php bin/console debug:container --tag=doctrine.fixture.orm
Debug Router: php bin/console debug:router
Debug Twig: php bin/console debug:twig
Show Environment Variables: php bin/console debug:env
API & HTTP
Generate API Platform Resource: php bin/console make:api:resource
Test HTTP Requests: php bin/console router:match
Miscellaneous
Generate Translation File: php bin/console make:translation
Generate Form Type: php bin/console make:form
Generate Event Listener: php bin/console make:listener