You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
405 B
PHP
17 lines
405 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
require __DIR__.'/../tests/bootstrap.php';
|
|
|
|
use Composer\Composer;
|
|
use Composer\Downloader\GitDownloader;
|
|
use Composer\Command\InstallCommand;
|
|
use Composer\Installer\LibraryInstaller;
|
|
|
|
$composer = new Composer();
|
|
$composer->addDownloader('git', new GitDownloader);
|
|
$composer->addInstaller('library', new LibraryInstaller);
|
|
|
|
$cmd = new InstallCommand();
|
|
$cmd->install($composer);
|