Handy Symfony2 Aliases
For all of these to work, your Symfony2 installation should include the following packages in addition to the default Symfony packages:
- DoctrineMigrationsBundle
-
DoctrineFixturesBundle
alias console="php app/console" alias entity="php app/console doctrine:generate:entity" alias bundle="php app/console generate:bundle" alias cc="php app/console cache:clear" alias diff="php app/console doctrine:migrations:diff" alias migrate="php app/console doctrine:migrations:migrate" alias fixload="php app/console doctrine:fixtures:load" alias controller="php app/console generate:controller" alias routes="php app/console router:debug" alias server="php app/console server:run"
Written by Alex Sears
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#