1
0
Fork 0
Go to file
Jordi Boggiano e87190e3da Detect duplicate keys in composer.json, fixes #4620 2015-11-21 02:35:00 +00:00
bin remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
doc Merge pull request #4615 from staabm/xdebugwarn 2015-11-19 14:47:52 +00:00
res Merge remote-tracking branch 'trivago/add_exclude' 2015-10-30 00:00:44 +00:00
src Detect duplicate keys in composer.json, fixes #4620 2015-11-21 02:35:00 +00:00
tests Use writeError for xdebug warning and fix running test suite with xdebug 2015-11-19 17:37:32 +00: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 added some rules we follow but dont check yet 2015-10-13 11:33:40 +02:00
.travis.yml allow 7.0 failures until travis fixes containers/stable release 2015-11-19 12:01:21 +01: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 Detect duplicate keys in composer.json, fixes #4620 2015-11-21 02:35:00 +00:00
composer.lock Detect duplicate keys in composer.json, fixes #4620 2015-11-21 02:35:00 +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.