07/11/2014 - DOCTRINE, SYMFONY
With the some of the built-in commands below, you can use --env=environment_name
flag for specific environments like dev, test so on. Also --em=entity_manager_name
for different database schemas can be used.
php app/console -t
php app/console list doctrine
php app/console help doctrine:database:create
php app/console doctrine:schema:validate
php app/console doctrine:mapping:info
php app/console server:run
php app/console debug:container
php app/console router:debug
php app/console router:debug name_of_the_router
php app/console doctrine:schema
php app/console doctrine:schema:update --dump-sql
php app/console doctrine:schema:create
php app/console doctrine:schema:update --force
php app/console doctrine:schema:drop --force
php app/console doctrine:generate:entity
php app/console doctrine:generate:entities Football/FrontendBundle/Entity/Product --no-backup
php app/console doctrine:generate:entities Football --no-backup
php app/console doctrine:generate:entities FootballFrontendBundle --no-backup
php app/console doctrine:generate:entities Football/FrontendBundle/Entity --no-backup
php app/console doctrine:fixtures:load --no-interaction --no-debug
app/console doctrine:cache:clear
app/console doctrine:cache:clear-metadata
app/console doctrine:cache:clear-query
app/console doctrine:cache:clear-result
php app/console security:encode-password
php app/console debug:event-dispatcher