1
0
Fork 0
Go to file
Bryan Davis 2eb0af264b Allow RootAliasPackage to override cached values
AliasPackage caches the values of 'requires', 'devRequires',
'conflicts', 'provides', 'replaces' locally to allow `self.version`
references to be properly updated to reference the alias. Plugins like
composer-merge-plugin that manipulate these settings at runtime need to
be able to change the values after alias construction.
2015-10-27 12:36:13 -06:00
bin remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
doc Merge pull request #4422 from dennisbirkholz/wildcard-repositories 2015-09-20 16:41:02 +01:00
res remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
src Allow RootAliasPackage to override cached values 2015-10-27 12:36:13 -06:00
tests Fix CS 2015-09-28 10:53:24 +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 fixer config for latest master 2015-09-28 10:51:28 +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
appveyor.yml Remove appveyor matrix 2015-09-23 00:17:02 +01:00
composer.json add semver, deprecated existing classes 2015-09-24 16:28:28 +02:00
composer.lock regenerate lock with latest composer 2015-09-24 16:35:54 +02: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.