1
0
Fork 0
Go to file
Jordi Boggiano 6508dc4322 Allow packages with only a dist ref to be force updated when the dist ref changes 2015-09-12 22:29:19 +01:00
bin remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
doc Merge branch 'feature/document-need-to-require-autoloader-in-script-hooks' of git://github.com/jeskew/composer into jeskew-feature/document-need-to-require-autoloader-in-script-hooks 2015-08-12 13:48:55 +02:00
res remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
src Allow packages with only a dist ref to be force updated when the dist ref changes 2015-09-12 22:29:19 +01:00
tests Updates to path repository and path downloader, refs #4365 2015-09-12 22:28:03 +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 Fix line endings 2015-05-28 14:54:42 +01:00
.travis.yml Update the config of the apt addon to the new syntax 2015-08-20 13:02:17 +02:00
CHANGELOG.md Correct format of alpha1 heading in CHANGELOG.md 2015-05-07 09:23:03 +01: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 updated code of conduct and minor addition in contrib 2015-08-11 10:41:34 +02:00
composer.json Create the path repository and downloader 2015-08-18 14:40:48 +01:00
composer.lock Create the path repository and downloader 2015-08-18 14:40:48 +01: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
    
  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.