Para que tudo isso funcione, sua instalação do Symfony2 deve incluir os seguintes pacotes, além dos pacotes padrão do Symfony:
- 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"