1
0
Fork 0
Go to file
Rob Bast be5719eb53 Merge remote-tracking branch 'upstream/master' into repro-4795
* upstream/master: (98 commits)
  Fallback to zlib extension to unpack gzip on non Windows systems
  Zip extension does not provide zlib support
  Unified all Windows tests throughout the code.
  Added Platform utility and unit test for it.
  Remove warnings for non-writable dirs, refs #3588
  [doc] add -H flag to sudo commands
  use full json content to determine reference, closes #4859
  typos
  Make sure COMPOSER_AUTH is also loaded in Config, refs #4546
  Use proper defaults for IO authentications
  Add verbosity input support to IOInterface
  Update SolverTest.php
  Update broken-deps-do-not-replace.test
  Update SolverProblemsException.php
  Cleaned up check+conversion that was no longer required.
  Cleaner notation for expected exceptions in fixtures.
  Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works.
  Included unit test for circular root dependencies.
  Expanded InstallerTest to support expecting Exceptions by supplying "EXCEPTION" as "--EXPECT--"
  Clarified error message and added braces.
  ...
2016-02-04 12:43:37 +01:00
bin remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
doc [doc] add -H flag to sudo commands 2016-02-03 15:46:15 +01:00
res apply comments 2016-01-22 09:14:37 +01:00
src Merge remote-tracking branch 'upstream/master' into repro-4795 2016-02-04 12:43:37 +01:00
tests Merge remote-tracking branch 'upstream/master' into repro-4795 2016-02-04 12:43:37 +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 typos 2016-01-29 17:13:44 +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 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 Zip extension does not provide zlib support 2016-02-04 00:34:01 +00:00
composer.lock Zip extension does not provide zlib support 2016-02-04 00:34:01 +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.