Porting of Symfony 1.4 project:deploy command to Symfony 2