about

Display information about the current project

Usage
about

asset-map:compile

Compile all mapped assets and writes them to the final public output directory

Usage
asset-map:compile

assets:install

Install bundle's web assets under a public directory

Usage
assets:install [--symlink] [--relative] [--no-cleanup] [--] [<target>]
Arguments
Nom Description
target The target directory
Options
Option Description
--symlink Symlink the assets instead of copying them
--relative Make relative symlinks
--no-cleanup Do not remove the assets of the bundles that no longer exist

cache:clear

Clear the cache

Usage
cache:clear [--no-warmup] [--no-optional-warmers]
Options
Option Description
--no-warmup Do not warm up the cache
--no-optional-warmers Skip optional cache warmers (faster)

cache:pool:clear

Clear cache pools

Usage
cache:pool:clear [--all] [--exclude EXCLUDE] [--] [<pools>...]
Arguments
Nom Description
pools A list of cache pools or cache pool clearers
Options
Option Description
--all Clear all cache pools
--exclude A list of cache pools or cache pool clearers to exclude

cache:pool:delete

Delete an item from a cache pool

Usage
cache:pool:delete <pool> <key>
Arguments
Nom Description
pool The cache pool from which to delete an item
key The cache key to delete from the pool

cache:pool:invalidate-tags

Invalidate cache tags for all or a specific pool

Usage
cache:pool:invalidate-tags [-p|--pool POOL] [--] <tags>...
Arguments
Nom Description
tags The tags to invalidate
Options
Option Description
--pool The pools to invalidate on

cache:pool:list

List available cache pools

Usage
cache:pool:list

cache:pool:prune

Prune cache pools

Usage
cache:pool:prune

cache:warmup

Warm up an empty cache

Usage
cache:warmup [--no-optional-warmers]
Options
Option Description
--no-optional-warmers Skip optional cache warmers (faster)

completion

Dump the shell completion script

Usage
completion [--debug] [--] [<shell>]
Arguments
Nom Description
shell The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given
Options
Option Description
--debug Tail the completion debug log

config:dump-reference

Dump the default configuration for an extension

Usage
config:dump-reference [--format FORMAT] [--] [<name> [<path>]]
Arguments
Nom Description
name The Bundle name or the extension alias
path The configuration option path
Options
Option Description
--format The output format ("yaml", "xml")

dbal:run-sql

Executes arbitrary SQL directly from the command line.

Usage
dbal:run-sql [--connection CONNECTION] [--depth DEPTH] [--force-fetch] [--] <sql>
Arguments
Nom Description
sql The SQL statement to execute.
Options
Option Description
--connection The named database connection
--depth Dumping depth of result set (deprecated).
--force-fetch Forces fetching the result.

debug:asset-map

Output all mapped assets

Usage
debug:asset-map [--ext EXT] [--full] [--vendor|--no-vendor] [--] [<name>]
Arguments
Nom Description
name An asset name (or a path) to search for (e.g. "app")
Options
Option Description
--ext Filter assets by extension (e.g. "css")
--full Whether to show the full paths
--vendor Only show assets from vendor packages

debug:autowiring

List classes/interfaces you can use for autowiring

Usage
debug:autowiring [--all] [--] [<search>]
Arguments
Nom Description
search A search filter
Options
Option Description
--all Show also services that are not aliased

debug:config

Dump the current configuration for an extension

Usage
debug:config [--resolve-env] [--format FORMAT] [--] [<name> [<path>]]
Arguments
Nom Description
name The bundle name or the extension alias
path The configuration option path
Options
Option Description
--resolve-env Display resolved environment variable values instead of placeholders
--format The output format ("txt", "yaml", "json")

debug:container

Display current services for an application

Usage
debug:container [--show-arguments] [--show-hidden] [--tag TAG] [--tags] [--parameter PARAMETER] [--parameters] [--types] [--env-var ENV-VAR] [--env-vars] [--format FORMAT] [--raw] [--deprecations] [--] [<name>]
Arguments
Nom Description
name A service name (foo)
Options
Option Description
--show-arguments Show arguments in services
--show-hidden Show hidden (internal) services
--tag Show all services with a specific tag
--tags Display tagged services for an application
--parameter Display a specific parameter for an application
--parameters Display parameters for an application
--types Display types (classes/interfaces) available in the container
--env-var Display a specific environment variable used in the container
--env-vars Display environment variables used in the container
--format The output format ("txt", "xml", "json", "md")
--raw To output raw description
--deprecations Display deprecations generated when compiling and warming up the container

debug:dotenv

List all dotenv files with variables and values

Usage
debug:dotenv [<filter>]
Arguments
Nom Description
filter The name of an environment variable or a filter.

debug:event-dispatcher

Display configured listeners for an application

Usage
debug:event-dispatcher [--dispatcher DISPATCHER] [--format FORMAT] [--raw] [--] [<event>]
Arguments
Nom Description
event An event name or a part of the event name
Options
Option Description
--dispatcher To view events of a specific event dispatcher
--format The output format ("txt", "xml", "json", "md")
--raw To output raw description

debug:firewall

Lazy command

debug:form

Display form type information

Usage
debug:form [--show-deprecated] [--format FORMAT] [--] [<class> [<option>]]
Arguments
Nom Description
class The form type class
option The form type option
Options
Option Description
--show-deprecated Display deprecated options in form types
--format The output format ("txt", "json")

debug:router

Display current routes for an application

Usage
debug:router [--show-controllers] [--show-aliases] [--format FORMAT] [--raw] [--] [<name>]
Arguments
Nom Description
name A route name
Options
Option Description
--show-controllers Show assigned controllers in overview
--show-aliases Show aliases in overview
--format The output format ("txt", "xml", "json", "md")
--raw To output raw route(s)

debug:translation

Display translation messages information

Usage
debug:translation [--domain [DOMAIN]] [--only-missing] [--only-unused] [--all] [--] <locale> [<bundle>]
Arguments
Nom Description
locale The locale
bundle The bundle name or directory where to load the messages
Options
Option Description
--domain The messages domain
--only-missing Display only missing messages
--only-unused Display only unused messages
--all Load messages from all registered bundles

debug:twig

Show a list of twig functions, filters, globals and tests

Usage
debug:twig [--filter FILTER] [--format FORMAT] [--] [<name>]
Arguments
Nom Description
name The template name
Options
Option Description
--filter Show details for all entries matching this filter
--format The output format ("txt", "json")

debug:twig-component

Display components and them usages for an application

Usage
debug:twig-component [<name>]
Arguments
Nom Description
name A component name or part of the component name

debug:validator

Display validation constraints for classes

Usage
debug:validator [--show-all] [--] <class>
Arguments
Nom Description
class A fully qualified class name or a path
Options
Option Description
--show-all Show all classes even if they have no validation constraints

doctrine:cache:clear-collection-region

Clear a second-level cache collection region

Usage
doctrine:cache:clear-collection-region [--em EM] [--all] [--flush] [--] [<owner-class> [<association> [<owner-id>]]]
Arguments
Nom Description
owner-class The owner entity name.
association The association collection name.
owner-id The owner identifier.
Options
Option Description
--em Name of the entity manager to operate on
--all If defined, all entity regions will be deleted/invalidated.
--flush If defined, all cache entries will be flushed.

doctrine:cache:clear-entity-region

Clear a second-level cache entity region

Usage
doctrine:cache:clear-entity-region [--em EM] [--all] [--flush] [--] [<entity-class> [<entity-id>]]
Arguments
Nom Description
entity-class The entity name.
entity-id The entity identifier.
Options
Option Description
--em Name of the entity manager to operate on
--all If defined, all entity regions will be deleted/invalidated.
--flush If defined, all cache entries will be flushed.

doctrine:cache:clear-metadata

Clear all metadata cache of the various cache drivers

Usage
doctrine:cache:clear-metadata [--em EM] [--flush]
Options
Option Description
--em Name of the entity manager to operate on
--flush If defined, cache entries will be flushed instead of deleted/invalidated.

doctrine:cache:clear-query

Clear all query cache of the various cache drivers

Usage
doctrine:cache:clear-query [--em EM]
Options
Option Description
--em Name of the entity manager to operate on

doctrine:cache:clear-query-region

Clear a second-level cache query region

Usage
doctrine:cache:clear-query-region [--em EM] [--all] [--flush] [--] [<region-name>]
Arguments
Nom Description
region-name The query region to clear.
Options
Option Description
--em Name of the entity manager to operate on
--all If defined, all query regions will be deleted/invalidated.
--flush If defined, all cache entries will be flushed.

doctrine:cache:clear-result

Clear all result cache of the various cache drivers

Usage
doctrine:cache:clear-result [--em EM] [--flush]
Options
Option Description
--em Name of the entity manager to operate on
--flush If defined, cache entries will be flushed instead of deleted/invalidated.

doctrine:database:create

Creates the configured database

Usage
doctrine:database:create [-c|--connection [CONNECTION]] [--if-not-exists]
Options
Option Description
--connection The connection to use for this command
--if-not-exists Don't trigger an error, when the database already exists

doctrine:database:drop

Drops the configured database

Usage
doctrine:database:drop [-c|--connection [CONNECTION]] [--if-exists] [-f|--force]
Options
Option Description
--connection The connection to use for this command
--if-exists Don't trigger an error, when the database doesn't exist
--force Set this parameter to execute this action

doctrine:fixtures:load

Load data fixtures to your database

Usage
doctrine:fixtures:load [--append] [--group GROUP] [--em EM] [--purger PURGER] [--purge-exclusions PURGE-EXCLUSIONS] [--purge-with-truncate]
Options
Option Description
--append Append the data fixtures instead of deleting all data from the database first.
--group Only load fixtures that belong to this group
--em The entity manager to use for this command.
--purger The purger to use for this command
--purge-exclusions List of database tables to ignore while purging
--purge-with-truncate Purge data by using a database-level TRUNCATE statement

doctrine:mapping:info

Show basic information about all mapped entities

Usage
doctrine:mapping:info [--em EM]
Options
Option Description
--em Name of the entity manager to operate on

doctrine:migrations:current

Outputs the current version

Usage
doctrine:migrations:current [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:diff

Generate a migration by comparing your current database to your mapping information.

Usage
doctrine:migrations:diff [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--namespace NAMESPACE] [--filter-expression FILTER-EXPRESSION] [--formatted] [--line-length LINE-LENGTH] [--check-database-platform [CHECK-DATABASE-PLATFORM]] [--allow-empty-diff] [--from-empty-schema]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.
--namespace The namespace to use for the migration (must be in the list of configured namespaces)
--filter-expression Tables which are filtered by Regular Expression.
--formatted Format the generated SQL.
--line-length Max line length of unformatted lines.
--check-database-platform Check Database Platform to the generated code.
--allow-empty-diff Do not throw an exception when no changes are detected.
--from-empty-schema Generate a full migration as if the current database was empty.

doctrine:migrations:dump-schema

Dump the schema for your database to a migration.

Usage
doctrine:migrations:dump-schema [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--formatted] [--namespace NAMESPACE] [--filter-tables FILTER-TABLES] [--line-length [LINE-LENGTH]]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.
--formatted Format the generated SQL.
--namespace Namespace to use for the generated migrations (defaults to the first namespace definition).
--filter-tables Filter the tables to dump via Regex.
--line-length Max line length of unformatted lines.

doctrine:migrations:execute

Execute one or more migration versions up or down manually.

Usage
doctrine:migrations:execute [--write-sql [WRITE-SQL]] [--dry-run] [--up] [--down] [--query-time] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] <versions>...
Arguments
Nom Description
versions The versions to execute.
Options
Option Description
--write-sql The path to output the migration SQL file. Defaults to current working directory.
--dry-run Execute the migration as a dry run.
--up Execute the migration up.
--down Execute the migration down.
--query-time Time all the queries individually.
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:generate

Generate a blank migration class.

Usage
doctrine:migrations:generate [--namespace NAMESPACE] [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--namespace The namespace to use for the migration (must be in the list of configured namespaces)
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:latest

Outputs the latest version

Usage
doctrine:migrations:latest [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:list

Display a list of all available migrations and their status.

Usage
doctrine:migrations:list [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:migrate

Execute a migration to a specified version or the latest available version.

Usage
doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--no-all-or-nothing] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] [<version>]
Arguments
Nom Description
version The version FQCN or alias (first, prev, next, latest) to migrate to.
Options
Option Description
--write-sql The path to output the migration SQL file. Defaults to current working directory.
--dry-run Execute the migration as a dry run.
--query-time Time all the queries individually.
--allow-no-migration Do not throw an exception if no migration is available.
--all-or-nothing Wrap the entire migration in a transaction.
--no-all-or-nothing Disable wrapping the entire migration in a transaction.
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:rollup

Rollup migrations by deleting all tracked versions and insert the one version that exists.

Usage
doctrine:migrations:rollup [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:status

View the status of a set of migrations.

Usage
doctrine:migrations:status [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:sync-metadata-storage

Ensures that the metadata storage is at the latest version.

Usage
doctrine:migrations:sync-metadata-storage [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:up-to-date

Tells you if your schema is up-to-date.

Usage
doctrine:migrations:up-to-date [-u|--fail-on-unregistered] [-l|--list-migrations] [--configuration CONFIGURATION] [--em EM] [--conn CONN]
Options
Option Description
--fail-on-unregistered Whether to fail when there are unregistered extra migrations found
--list-migrations Show a list of missing or not migrated versions.
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:migrations:version

Manually add and delete migration versions from the version table.

Usage
doctrine:migrations:version [--add] [--delete] [--all] [--range-from [RANGE-FROM]] [--range-to [RANGE-TO]] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] [<version>]
Arguments
Nom Description
version The version to add or delete.
Options
Option Description
--add Add the specified version.
--delete Delete the specified version.
--all Apply to all the versions.
--range-from Apply from specified version.
--range-to Apply to specified version.
--configuration The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment>
--em The name of the entity manager to use.
--conn The name of the connection to use.

doctrine:query:dql

Executes arbitrary DQL directly from the command line

Usage
doctrine:query:dql [--em EM] [--hydrate HYDRATE] [--first-result FIRST-RESULT] [--max-result MAX-RESULT] [--depth DEPTH] [--show-sql] [--] <dql>
Arguments
Nom Description
dql The DQL to execute.
Options
Option Description
--em Name of the entity manager to operate on
--hydrate Hydration mode of result set. Should be either: object, array, scalar or single-scalar.
--first-result The first result in the result set.
--max-result The maximum number of results in the result set.
--depth Dumping depth of Entity graph.
--show-sql Dump generated SQL instead of executing query

doctrine:query:sql

Executes arbitrary SQL directly from the command line.

Usage
doctrine:query:sql [--connection CONNECTION] [--depth DEPTH] [--force-fetch] [--] <sql>
Arguments
Nom Description
sql The SQL statement to execute.
Options
Option Description
--connection The named database connection
--depth Dumping depth of result set (deprecated).
--force-fetch Forces fetching the result.

doctrine:schema:create

Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output

Usage
doctrine:schema:create [--em EM] [--dump-sql]
Options
Option Description
--em Name of the entity manager to operate on
--dump-sql Instead of trying to apply generated SQLs into EntityManager Storage Connection, output them.

doctrine:schema:drop

Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output

Usage
doctrine:schema:drop [--em EM] [--dump-sql] [-f|--force] [--full-database]
Options
Option Description
--em Name of the entity manager to operate on
--dump-sql Instead of trying to apply generated SQLs into EntityManager Storage Connection, output them.
--force Don't ask for the deletion of the database, but force the operation to run.
--full-database Instead of using the Class Metadata to detect the database table schema, drop ALL assets that the database contains.

doctrine:schema:update

Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata

Usage
doctrine:schema:update [--em EM] [--complete] [--dump-sql] [-f|--force]
Options
Option Description
--em Name of the entity manager to operate on
--complete This option is a no-op, is deprecated and will be removed in 4.0
--dump-sql Dumps the generated SQL statements to the screen (does not execute them).
--force Causes the generated SQL statements to be physically executed against your database.

doctrine:schema:validate

Validate the mapping files

Usage
doctrine:schema:validate [--em EM] [--skip-mapping] [--skip-sync] [--skip-property-types]
Options
Option Description
--em Name of the entity manager to operate on
--skip-mapping Skip the mapping validation check
--skip-sync Skip checking if the mapping is in sync with the database
--skip-property-types Skip checking if property types match the Doctrine types

help

Display help for a command

Usage
help [--format FORMAT] [--raw] [--] [<command_name>]
Arguments
Nom Description
command_name The command name
Options
Option Description
--format The output format (txt, xml, json, or md)
--raw To output raw command help

importmap:audit

Check for security vulnerability advisories for dependencies

Usage
importmap:audit [--format FORMAT]
Options
Option Description
--format The output format ("txt, json")

importmap:install

Download all assets that should be downloaded

Usage
importmap:install

importmap:outdated

List outdated JavaScript packages and their latest versions

Usage
importmap:outdated [--format FORMAT] [--] [<packages>...]
Arguments
Nom Description
packages A list of packages to check
Options
Option Description
--format The output format ("txt, json")

importmap:remove

Remove JavaScript packages

Usage
importmap:remove <packages>...
Arguments
Nom Description
packages The packages to remove

importmap:require

Require JavaScript packages

Usage
importmap:require [--entrypoint] [--path PATH] [--] <packages>...
Arguments
Nom Description
packages The packages to add
Options
Option Description
--entrypoint Make the package(s) an entrypoint?
--path The local path where the package lives relative to the project root

importmap:update

Update JavaScript packages to their latest versions

Usage
importmap:update [<packages>...]
Arguments
Nom Description
packages List of packages' names

lint:container

Ensure that arguments injected into services match type declarations

Usage
lint:container [--resolve-env-vars]
Options
Option Description
--resolve-env-vars Resolve environment variables and fail if one is missing.

lint:translations

Lint translations files syntax and outputs encountered errors

Usage
lint:translations [--locale LOCALE]
Options
Option Description
--locale Specify the locales to lint.

lint:twig

Lint a Twig template and outputs encountered errors

Usage
lint:twig [--format FORMAT] [--show-deprecations] [--excludes [EXCLUDES]] [--] [<filename>...]
Arguments
Nom Description
filename A file, a directory or "-" for reading from STDIN
Options
Option Description
--format The output format ("txt", "json", "github")
--show-deprecations Show deprecations as errors
--excludes Excluded directories

lint:xliff

Lint an XLIFF file and outputs encountered errors

Usage
lint:xliff [--format FORMAT] [--] [<filename>...]
Arguments
Nom Description
filename A file, a directory or "-" for reading from STDIN
Options
Option Description
--format The output format ("txt", "json", "github")

lint:yaml

Lint a YAML file and outputs encountered errors

Usage
lint:yaml [--format FORMAT] [--exclude EXCLUDE] [--parse-tags|--no-parse-tags] [--] [<filename>...]
Arguments
Nom Description
filename A file, a directory or "-" for reading from STDIN
Options
Option Description
--format The output format ("txt", "json", "github")
--exclude Path(s) to exclude
--parse-tags Parse custom tags

list

List commands

Usage
list [--raw] [--format FORMAT] [--short] [--] [<namespace>]
Arguments
Nom Description
namespace The namespace name
Options
Option Description
--raw To output raw command list
--format The output format (txt, xml, json, or md)
--short To skip describing commands' arguments

mailer:test

Test Mailer transports by sending an email

Usage
mailer:test [--from [FROM]] [--subject [SUBJECT]] [--body [BODY]] [--transport [TRANSPORT]] [--] <to>
Arguments
Nom Description
to The recipient of the message
Options
Option Description
--from The sender of the message
--subject The subject of the message
--body The body of the message
--transport The transport to be used

make:auth

Create a Guard authenticator of different flavors

Usage
make:auth

make:command

Create a new console command class

Usage
make:command [<name>]
Arguments
Nom Description
name Choose a command name (e.g. <fg=yellow>app:tiny-popsicle</>)

make:controller

Create a new controller class

Usage
make:controller [--no-template] [-i|--invokable] [--with-tests] [--] [<controller-class>]
Arguments
Nom Description
controller-class Choose a name for your controller class (e.g. <fg=yellow>DeliciousPizzaController</>)
Options
Option Description
--no-template Use this option to disable template generation
--invokable Use this option to create an invokable controller
--with-tests Generate PHPUnit Tests

make:crud

Create CRUD for Doctrine entity class

Usage
make:crud [--with-tests] [--] [<entity-class>]
Arguments
Nom Description
entity-class The class name of the entity to create CRUD (e.g. <fg=yellow>GentlePopsicle</>)
Options
Option Description
--with-tests Generate PHPUnit Tests

make:docker:database

Add a database container to your compose.yaml file

Usage
make:docker:database

make:entity

Create or update a Doctrine entity class, and optionally an API Platform resource

Usage
make:entity [-a|--api-resource] [-b|--broadcast] [--regenerate] [--overwrite] [--with-uuid] [--with-ulid] [--] [<name>]
Arguments
Nom Description
name Class name of the entity to create or update (e.g. <fg=yellow>VictoriousPopsicle</>)
Options
Option Description
--api-resource Mark this class as an API Platform resource (expose a CRUD API for it)
--broadcast Add the ability to broadcast entity updates using Symfony UX Turbo?
--regenerate Instead of adding new fields, simply generate the methods (e.g. getter/setter) for existing fields
--overwrite Overwrite any existing getter/setter methods
--with-uuid Use UUID for entity "id"
--with-ulid Use ULID for entity "id"

make:fixtures

Create a new class to load Doctrine fixtures

Usage
make:fixtures [<fixtures-class>]
Arguments
Nom Description
fixtures-class The class name of the fixtures to create (e.g. <fg=yellow>AppFixtures</>)

make:form

Create a new form class

Usage
make:form [<name> [<bound-class>]]
Arguments
Nom Description
name The name of the form class (e.g. <fg=yellow>VictoriousPuppyType</>)
bound-class The name of Entity or fully qualified model class name that the new form will be bound to (empty for none)

make:listener

Creates a new event subscriber class or a new event listener class

Usage
make:listener [<name> [<event>]]
Arguments
Nom Description
name Choose a class name for your event listener or subscriber (e.g. <fg=yellow>ExceptionListener</> or <fg=yellow>ExceptionSubscriber</>)
event What event do you want to listen to?

make:message

Create a new message and handler

Usage
make:message [<name>]
Arguments
Nom Description
name The name of the message class (e.g. <fg=yellow>SendEmailMessage</>)

make:messenger-middleware

Create a new messenger middleware

Usage
make:messenger-middleware [<name>]
Arguments
Nom Description
name The name of the middleware class (e.g. <fg=yellow>CustomMiddleware</>)

make:migration

Create a new migration based on database changes

Usage
make:migration [--formatted] [--configuration [CONFIGURATION]]
Options
Option Description
--formatted Format the generated SQL
--configuration The path of doctrine configuration file

make:registration-form

Create a new registration form system

Usage
make:registration-form [--with-tests]
Options
Option Description
--with-tests Generate PHPUnit Tests

make:reset-password

Create controller, entity, and repositories for use with symfonycasts/reset-password-bundle

Usage
make:reset-password [--with-uuid] [--with-ulid] [--with-tests]
Options
Option Description
--with-uuid Use UUID for entity "id"
--with-ulid Use ULID for entity "id"
--with-tests Generate PHPUnit Tests

make:schedule

Create a scheduler component

Usage
make:schedule

make:security:custom

Create a custom security authenticator.

Usage
make:security:custom

make:security:form-login

Generate the code needed for the form_login authenticator

Usage
make:security:form-login [--with-tests]
Options
Option Description
--with-tests Generate PHPUnit Tests

make:serializer:encoder

Create a new serializer encoder class

Usage
make:serializer:encoder [<name> [<format>]]
Arguments
Nom Description
name Choose a class name for your encoder (e.g. <fg=yellow>YamlEncoder</>)
format Pick your format name (e.g. <fg=yellow>yaml</>)

make:serializer:normalizer

Create a new serializer normalizer class

Usage
make:serializer:normalizer [<name>]
Arguments
Nom Description
name Choose a class name for your normalizer (e.g. <fg=yellow>UserNormalizer</>)

make:stimulus-controller

Create a new Stimulus controller

Usage
make:stimulus-controller <name>
Arguments
Nom Description
name The name of the Stimulus controller (e.g. <fg=yellow>hello</>)

make:test

Create a new test class

Usage
make:test [<type> [<name>]]
Arguments
Nom Description
type The type of test: <fg=yellow>TestCase</> (basic PHPUnit tests), <fg=yellow>KernelTestCase</> (basic tests that have access to Symfony services), <fg=yellow>WebTestCase</> (to run browser-like scenarios, but that don't execute JavaScript code), <fg=yellow>ApiTestCase</> (to run API-oriented scenarios), <fg=yellow>PantherTestCase</> (to run e2e scenarios, using a real-browser or HTTP client and a real web server)
name The name of the test class (e.g. <fg=yellow>BlogPostTest</>)

make:twig-component

Create a twig (or live) component

Usage
make:twig-component [--live] [--] [<name>]
Arguments
Nom Description
name The name of your twig component (ie <fg=yellow>Notification</>)
Options
Option Description
--live Whether to create a live twig component (requires <fg=yellow>symfony/ux-live-component</>)

make:twig-extension

Create a new Twig extension with its runtime class

Usage
make:twig-extension [<name>]
Arguments
Nom Description
name The name of the Twig extension class (e.g. <fg=yellow>AppExtension</>)

make:user

Create a new security user class

Usage
make:user [--is-entity] [--identity-property-name IDENTITY-PROPERTY-NAME] [--with-password] [--with-uuid] [--with-ulid] [--] [<name>]
Arguments
Nom Description
name The name of the security user class (e.g. <fg=yellow>User</>)
Options
Option Description
--is-entity Do you want to store user data in the database (via Doctrine)?
--identity-property-name Enter a property name that will be the unique "display" name for the user (e.g. <comment>email, username, uuid</comment>)
--with-password Will this app be responsible for checking the password? Choose <comment>No</comment> if the password is actually checked by some other system (e.g. a single sign-on server)
--with-uuid Use UUID for entity "id"
--with-ulid Use ULID for entity "id"

make:validator

Create a new validator and constraint class

Usage
make:validator [<name>]
Arguments
Nom Description
name The name of the validator class (e.g. <fg=yellow>EnabledValidator</>)

make:voter

Create a new security voter class

Usage
make:voter [<name>]
Arguments
Nom Description
name The name of the security voter class (e.g. <fg=yellow>BlogPostVoter</>)

make:webhook

Create a new Webhook

Usage
make:webhook [<name>]
Arguments
Nom Description
name Name of the webhook to create (e.g. <fg=yellow>github, stripe, ...</>)

router:match

Help debug routes by simulating a path info match

Usage
router:match [--method METHOD] [--scheme SCHEME] [--host HOST] [--] <path_info>
Arguments
Nom Description
path_info A path info
Options
Option Description
--method Set the HTTP method
--scheme Set the URI scheme (usually http or https)
--host Set the URI host

sass:build

Builds the Sass assets

Usage
sass:build [-w|--watch]
Options
Option Description
--watch Watch for changes and rebuild automatically

secrets:decrypt-to-local

Decrypt all secrets and stores them in the local vault

Usage
secrets:decrypt-to-local [-f|--force]
Options
Option Description
--force Force overriding of secrets that already exist in the local vault

secrets:encrypt-from-local

Encrypt all local secrets to the vault

Usage
secrets:encrypt-from-local

secrets:generate-keys

Generate new encryption keys

Usage
secrets:generate-keys [-l|--local] [-r|--rotate]
Options
Option Description
--local Update the local vault.
--rotate Re-encrypt existing secrets with the newly generated keys.

secrets:list

List all secrets

Usage
secrets:list [-r|--reveal]
Options
Option Description
--reveal Display decrypted values alongside names

secrets:remove

Remove a secret from the vault

Usage
secrets:remove [-l|--local] [--] <name>
Arguments
Nom Description
name The name of the secret
Options
Option Description
--local Update the local vault.

secrets:reveal

Reveal the value of a secret

Usage
secrets:reveal <name>
Arguments
Nom Description
name The name of the secret to reveal

secrets:set

Set a secret in the vault

Usage
secrets:set [-l|--local] [-r|--random [RANDOM]] [--] <name> [<file>]
Arguments
Nom Description
name The name of the secret
file A file where to read the secret from or "-" for reading from STDIN
Options
Option Description
--local Update the local vault.
--random Generate a random value.

security:hash-password

Hash a user password

Usage
security:hash-password [--empty-salt] [--] [<password> [<user-class>]]
Arguments
Nom Description
password The plain password to hash.
user-class The User entity class path associated with the hasher used to hash the password.
Options
Option Description
--empty-salt Do not generate a salt or let the hasher generate one.

server:dump

Start a dump server that collects and displays dumps in a single place

Usage
server:dump [--format FORMAT]
Options
Option Description
--format The output format (cli, html)

server:log

Start a log server that displays logs in real time

Usage
server:log [--host HOST] [--format FORMAT] [--date-format DATE-FORMAT] [--filter FILTER]
Options
Option Description
--host The server host
--format The line format
--date-format The date format
--filter An expression to filter log. Example: "level > 200 or channel in ['app', 'doctrine']"

translation:extract

Extract missing translations keys from code to translation files

Usage
translation:extract [--prefix [PREFIX]] [--no-fill] [--format [FORMAT]] [--dump-messages] [--force] [--clean] [--domain [DOMAIN]] [--sort [SORT]] [--as-tree [AS-TREE]] [--] <locale> [<bundle>]
Arguments
Nom Description
locale The locale
bundle The bundle name or directory where to load the messages
Options
Option Description
--prefix Override the default prefix
--no-fill Extract translation keys without filling in values
--format Override the default output format
--dump-messages Should the messages be dumped in the console
--force Should the extract be done
--clean Should clean not found messages
--domain Specify the domain to extract
--sort Return list of messages sorted alphabetically
--as-tree Dump the messages as a tree-like structure: The given value defines the level where to switch to inline YAML

translation:pull

Pull translations from a given provider.

Usage
translation:pull [--force] [--intl-icu] [--domains [DOMAINS]] [--locales [LOCALES]] [--format [FORMAT]] [--as-tree [AS-TREE]] [--] <provider>
Arguments
Nom Description
provider The provider to pull translations from.
Options
Option Description
--force Override existing translations with provider ones (it will delete not synchronized messages).
--intl-icu Associated to --force option, it will write messages in "%domain%+intl-icu.%locale%.xlf" files.
--domains Specify the domains to pull.
--locales Specify the locales to pull.
--format Override the default output format.
--as-tree Write messages as a tree-like structure. Needs --format=yaml. The given value defines the level where to switch to inline YAML

translation:push

Push translations to a given provider.

Usage
translation:push [--force] [--delete-missing] [--domains [DOMAINS]] [--locales [LOCALES]] [--] <provider>
Arguments
Nom Description
provider The provider to push translations to.
Options
Option Description
--force Override existing translations with local ones (it will delete not synchronized messages).
--delete-missing Delete translations available on provider but not locally.
--domains Specify the domains to push.
--locales Specify the locales to push.

ux:icons:import

Import icon(s) from iconify.design

Usage
ux:icons:import <names>...
Arguments
Nom Description
names Icon name from ux.symfony.com/icons (e.g. "mdi:home")

ux:icons:lock

Scan project and import icon(s) from iconify.design

Usage
ux:icons:lock [--force]
Options
Option Description
--force Force re-import of all found icons

ux:icons:search

Search icons and icon sets from ux.symfony.com

Usage
ux:icons:search <prefix> [<name>]
Arguments
Nom Description
prefix Prefix or name of the icon set (ex: bootstrap, fa, tabler)
name Name of the icon (leave empty to search for sets)

ux:icons:warm-cache

Warm the icon cache

Usage
ux:icons:warm-cache