Last Updated: February 25, 2016
·
1.492K
· sprain

Shortcut to php app/console in Symfony2

Tired of having to type php app/console all the time? It's time to simplify!

  1. Execute echo "alias sf='php app/console'" >> ~/.bash_profile

  2. Restart your terminal.

  3. Now simply type sf and Symfony2 console will be executed.

  4. Also get familiar with console shortcuts.