dmartinezla
12/11/2014 - 9:19 AM

https://coderwall.com/p/kjqbug/shortcut-to-php-app-console-in-symfony2

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

Execute echo "alias sf='php app/console'" >> ~/.bash_profile
Restart your terminal.
Now simply type sf and Symfony2 console will be executed.
Also get familiar with console shortcuts.