Build your application with SymfonyConsole and Box2 builder, and How to rend PHP a Sript OOP Langage !!
composer update
box build
php build.phar list
curl -sS https://github.com/nfouka/BuildConsolePHP/raw/master/build.phar -L -o build.phar
OR ( If you don't have curl you can try )
php -r "readfile('https://github.com/nfouka/BuildConsolePHP/raw/master/build.phar');" > drupal.phar