Skip to content

Instantly share code, notes, and snippets.

@satsura
Created February 26, 2013 07:54
Show Gist options
  • Save satsura/5036766 to your computer and use it in GitHub Desktop.
Save satsura/5036766 to your computer and use it in GitHub Desktop.
PHPStorm Doctrine Command Line Tools
<?xml version="1.0" encoding="UTF-8"?>
<framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.3.xsd" name="Doctrine"
invoke="$PhpExecutable$ $ProjectFileDir$/application/doctrine-cli.php" alias="doctrine-cli" enabled="true"
version="2">
<command>
<name>help</name>
<help><![CDATA[Displays help for a command]]></help>
</command>
<command>
<name>list</name>
<help>Lists commands</help>
</command>
<command>
<name>dbal:import</name>
<help>Import SQL file(s) directly to Database.</help>
</command>
<command>
<name>dbal:run-sql</name>
<help>Executes arbitrary SQL directly from the command line.</help>
</command>
<command>
<name>orm:clear-cache:metadata</name>
<help>Clear all metadata cache of the various cache drivers.</help>
</command>
<command>
<name>orm:clear-cache:query</name>
<help>Clear all query cache of the various cache drivers.</help>
</command>
<command>
<name>orm:clear-cache:result</name>
<help>Clear all result cache of the various cache drivers.</help>
</command>
<command>
<name>orm:convert-d1-schema</name>
<help>Converts Doctrine 1.X schema into a Doctrine 2.X schema.</help>
</command>
<command>
<name>orm:convert-mapping</name>
<help>Convert mapping information between supported formats.</help>
</command>
<command>
<name>orm:ensure-production-settings</name>
<help>Verify that Doctrine is properly configured for a production environment.</help>
</command>
<command>
<name>orm:generate-entities</name>
<help>Generate entity classes and method stubs from your mapping information.</help>
</command>
<command>
<name>orm:generate-proxies</name>
<help>Generates proxy classes for entity classes.</help>
</command>
<command>
<name>orm:generate-repositories</name>
<help>Generate repository classes from your mapping information.</help>
</command>
<command>
<name>orm:run-dql</name>
<help>Executes arbitrary DQL directly from the command line.</help>
</command>
<command>
<name>orm:schema-tool:create</name>
<help>Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output.</help>
</command>
<command>
<name>orm:schema-tool:drop</name>
<help>Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output.</help>
</command>
<command>
<name>orm:schema-tool:update</name>
<help>Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata.</help>
</command>
<command>
<name>orm:validate-schema</name>
<help>Validate the mapping files.</help>
</command>
</framework>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment