composer 472 B

1234567891011121314
  1. #!/usr/bin/env php
  2. <?php
  3. if ((!@include __DIR__.'/../../../.composer/autoload.php') && (!@include __DIR__.'/../vendor/.composer/autoload.php')) {
  4. die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
  5. 'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
  6. 'php composer.phar install'.PHP_EOL);
  7. }
  8. use Composer\Console\Application;
  9. // run the command application
  10. $application = new Application();
  11. $application->run();