Skip to content
Advertisement

Doing a “composer install” inside a Symfony console

I have to launch inside a working directory a composer install after a jQuery success (I’m developing a git panel under Silex). I have been told it could be well done with Symfony Console, because it can keep some options. But I have really no idea how to call it.

I created a class which extends Command, I think I got to implement it under execute method…

JavaScript

I tried this:

JavaScript

Still doesn’t work.

Advertisement

Answer

Okay, I found something interesting.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement