Created
March 2, 2019 04:11
-
-
Save dinhquochan/2f9445bd9fa2eebf2ed06ea57946f302 to your computer and use it in GitHub Desktop.
Run `composer install` in Web Browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| declarce(strict_type=1); | |
| use Composer\Console\Application; | |
| use Composer\Command\UpdateCommand; | |
| use Symfony\Component\Console\Input\ArrayInput; | |
| define('COMPOSER_ROOT', __DIR__); | |
| @set_time_limit(0); | |
| @ini_set('memory_limit', -1); | |
| chdir(COMPOSER_ROOT); | |
| $input = new ArrayInput(['command' => 'install']); | |
| $application = new Application(); | |
| $application->run($input); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment