You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ayesh Karunaratne fdb35a6a06
Fix \Composer\Installer\PackageEvent::__construct() and \Composer\Repository\ComposerRepository::isVersionAcceptable() required arguments used after optional, which is deprecated in PHP 8.0
1. `Deprecated: Required parameter $name follows optional parameter $constraint in src\Composer\Repository\ComposerRepository.php on line 745`

2. `Deprecated: Required parameter $operation follows optional parameter $operations in src\Composer\Installer\PackageEvent.php on line 73`

Optional parameters with a type declared, and a default value of `null` is excepted from this deprecation. See https://php.watch/versions/8.0/deprecate-required-param-after-optional. This is the case in `ComposerRepository::isVersionAcceptable`, which still has two optional parameters as first two parameters, but this will not raise a deprecation notice.
4 years ago
.github Remove file in favor of https://github.com/composer/.github/blob/master/FUNDING.yml 4 years ago
bin Fix: Xdebug vs xdebug 5 years ago
doc Docs fixes 4 years ago
phpstan Fix more phpstan errors 4 years ago
res Fix schema rules to be more strict 4 years ago
src Fix \Composer\Installer\PackageEvent::__construct() and \Composer\Repository\ComposerRepository::isVersionAcceptable() required arguments used after optional, which is deprecated in PHP 8.0 4 years ago
tests Add options to configure repository priorities 4 years ago
.editorconfig Enhancement: Add .editorconfig 6 years ago
.gitattributes Added PHPStan rule that checks we don't use $this in closures. 5 years ago
.gitignore Add PHPCSFixer config 9 years ago
.php_cs Uses config data from Composer object whenever possible on ArchiveCommand 4 years ago
.travis.yml Fix phpstan issues 4 years ago
CHANGELOG.md Merge branch '1.10' 4 years ago
LICENSE lets avoid silly commits in the future 8 years ago
PORTING_INFO Import initial partial port of the libzypp satsolver. 13 years ago
README.md Fix: Remove VersionEye badges 6 years ago
UPGRADE-2.0.md Add options to configure repository priorities 4 years ago
appveyor.yml Tweak appveyor build 4 years ago
composer.json Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323 4 years ago
composer.lock Merge branch '1.10' 4 years ago
phpunit.xml.dist fix risky tests 4 years ago

README.md

Composer - Dependency Management for PHP

Composer helps you declare, manage, and install dependencies of PHP projects.

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

Build Status

Installation / Usage

Download and install Composer by following the official instructions.

For usage, see the documentation.

Packages

Find packages on Packagist.

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

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

Security Reports

Please send any sensitive issue to security@packagist.org. Thanks!

License

Composer is licensed under the MIT License - see the LICENSE file for details

Acknowledgments