1
0
Fork 0
Go to file
Jordi Boggiano 593b88e414 Let users configure *any auth* via COMPOSER_AUTH and add it to the docs, refs #4546 2016-01-26 19:09:57 +00:00
bin remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
doc Let users configure *any auth* via COMPOSER_AUTH and add it to the docs, refs #4546 2016-01-26 19:09:57 +00:00
res apply comments 2016-01-22 09:14:37 +01:00
src Let users configure *any auth* via COMPOSER_AUTH and add it to the docs, refs #4546 2016-01-26 19:09:57 +00:00
tests use a proper tmp directory 2016-01-26 14:32:04 +01:00
.gitattributes enable blank-at-eof check 2015-05-28 15:20:26 +02:00
.gitignore Add PHPCSFixer config 2015-04-15 01:22:20 +01:00
.php_cs Update php-cs-fixer config 2016-01-26 13:59:34 +00:00
.travis.yml Screw 5.3.3 on travis, enough.. 2016-01-10 21:11:01 +00:00
CHANGELOG.md Update changelog for alpha11 2015-11-14 16:19:45 +00:00
CONTRIBUTING.md updated code of conduct and minor addition in contrib 2015-08-11 10:41:34 +02:00
LICENSE Updated copyright to 2015 2015-05-02 19:45:39 +02:00
PORTING_INFO Import initial partial port of the libzypp satsolver. 2011-04-05 17:37:19 +02:00
README.md Update readme.md to include php fall back 2015-10-24 16:34:35 +01:00
appveyor.yml Update appveyor.yml 2015-10-28 08:32:47 +00:00
composer.json Update deps and bump json-schema requirement, fixes #4756 2016-01-09 16:52:06 +00:00
composer.lock Update dependencies 2016-01-18 12:41:09 +00:00
phpunit.xml.dist Add slow tests to slow group, excluded by default except for travis 2012-05-06 15:10:13 +02:00

README.md

Composer - Dependency Management for PHP

Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere.

See https://getcomposer.org/ for more information and documentation.

Build Status Dependency Status Reference Status

Installation / Usage

  1. Download the composer.phar executable or use the installer.

    $ curl -sS https://getcomposer.org/installer | php
    

    Note: If the above fails for some reason, you can download the installer with php instead:

    php -r "readfile('https://getcomposer.org/installer');" | php
    
  2. Create a composer.json defining your dependencies. Note that this example is a short version for applications that are not meant to be published as packages themselves. To create libraries/packages please read the documentation.

    {
        "require": {
            "monolog/monolog": ">=1.0.0"
        }
    }
    
  3. Run Composer: php composer.phar install

  4. Browse for more packages on Packagist.

Global installation of Composer (manual)

Follow instructions in the documentation

Updating Composer

Running php composer.phar self-update or equivalent will update a phar install to the latest version.

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 - naderman@naderman.de - https://twitter.com/naderman - http://www.naderman.de
Jordi Boggiano - j.boggiano@seld.be - https://twitter.com/seldaek - http://seld.be

See also the list of contributors who participated in this project.

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.