How to use php console in Symfony2 How to use php console in Symfony2 symfony symfony

How to use php console in Symfony2


Console is used like this: $ php app/console [command name]


From app root: ./app/console --shell


Find myself an answer.

root@valugi-laptop:/var/www/sandbox/hello# chmod 777 /var/www/sandbox/src/Bundleroot@valugi-laptop:/var/www/sandbox/hello# php console init:bundle "Bundle\\ValugiBundle"