b7ab081519
For [Humbug Box](https://github.com/humbug/box/blob/master/src/Composer/ComposerOrchestrator.php#L30) we are using Composer to dump the autoload. To do so I'm using the `Composer` class from the application: ```php $composer = (new ComposerApplication())->getComposer(); ``` If you do so however this is going to fail because `Application#io` is null instead of being a `IOInterface` instance. Indeed it is initialised only when the application is run. So one solution is to initialised it with a dummy IO and the right IO object will be set when the application is run as usual. |
||
---|---|---|
.github | ||
bin | ||
doc | ||
res | ||
src | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.php_cs | ||
.travis.yml | ||
CHANGELOG.md | ||
LICENSE | ||
PORTING_INFO | ||
README.md | ||
appveyor.yml | ||
composer.json | ||
composer.lock | ||
phpunit.xml.dist |
README.md
Composer - Dependency Management for PHP
Composer helps you declare, manage, and install dependencies of PHP projects.
See https://getcomposer.org/ for more information and documentation.
Installation / Usage
Download and install Composer by following the official instructions.
For usage, see the documentation.
Packages
Find packages on Packagist.
Community
IRC channels are on irc.freenode.org: #composer for users and #composer-dev for development.
For support, Stack Overflow also offers a good collection of Composer related questions.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project and its community you agree to abide by those terms.
Requirements
PHP 5.3.2 or above (at least 5.3.4 recommended to avoid potential bugs)
Authors
- Nils Adermann | GitHub | Twitter | naderman@naderman.de | naderman.de
- Jordi Boggiano | GitHub | Twitter | j.boggiano@seld.be | seld.be
See also the list of contributors who participated in this project.
Security Reports
Please send any sensitive issue to security@packagist.org. Thanks!
License
Composer is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
- This project's Solver started out as a PHP port of openSUSE's Libzypp satsolver.
- This project uses hiddeninput.exe to prompt for passwords on windows, sources and details can be found on the github page of the project.