Scroll to navigation

DOCTRINE(1) User Commands DOCTRINE(1)

NAME

doctrine - Doctrine command line interface

SYNOPSIS

doctrine

OPTIONS

Display this help message
Do not output any message
Display this application version
Force ANSI output
Disable ANSI output
Do not ask any interactive question
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:

Displays help for a command
Lists commands
dbal
Import SQL file(s) directly to Database.
Checks if the current database contains identifiers that are reserved.
Executes arbitrary SQL directly from the command line.
orm
Clear all metadata cache of the various cache drivers
Clear all query cache of the various cache drivers
Clear a second-level cache collection region
Clear a second-level cache entity region
Clear a second-level cache query region
Clear all result cache of the various cache drivers
[orm:convert:d1-schema] Converts Doctrine 1.x schema into a Doctrine 2.x schema
[orm:convert:mapping] Convert mapping information between supported formats
Verify that Doctrine is properly configured for a production environment
[orm:generate:entities] Generate entity classes and method stubs from your mapping information
[orm:generate:proxies] Generates proxy classes for entity classes
[orm:generate:repositories] Generate repository classes from your mapping information
Show basic information about all mapped entities
Display information about mapped objects
Executes arbitrary DQL directly from the command line
Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output
Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output
Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata
Validate the mapping files
November 2021 doctrine 2.10.2+dfsg