I\'m wondering how can I run Symfony 2 command from browser query or from controller.
Its because I don\'t have any possibility on hosting to run it
You can use this bundle to run Symfony2 commands from controller (http request) and pass options/parameters in URL.
https://github.com/mrafalko/CommandRunnerBundle