From 2874daf59c50d22cb9e47e9a8518f9b9a4580fa6 Mon Sep 17 00:00:00 2001 From: Antoine Makdessi Date: Tue, 22 Feb 2022 22:32:58 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc7d8c645..f64a68210 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ For usage, see [the documentation](https://getcomposer.org/doc/). Packages -------- -Find packages on [Packagist](https://packagist.org). +Find public dependencies packages on [Packagist](https://packagist.org). Community --------- @@ -34,7 +34,7 @@ By participating in this project and its community you agree to abide by those t Requirements ------------ -PHP 5.3.2 or above (at least 5.3.4 recommended to avoid potential bugs) +PHP 7.2.5 or above. Authors ------- From 67a12f48291c07d2c1fe1bb6a289f1e11b76bb25 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 23 Feb 2022 14:28:17 +0100 Subject: [PATCH 2/3] Slightly more detailed PHP requirements --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f64a68210..2d9fc7990 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ For usage, see [the documentation](https://getcomposer.org/doc/). Packages -------- -Find public dependencies packages on [Packagist](https://packagist.org). +Find public packages on [Packagist.org](https://packagist.org). For private package hosting take a look at [Private Packagist](https://packagist.com). Community --------- @@ -34,7 +34,15 @@ By participating in this project and its community you agree to abide by those t Requirements ------------ -PHP 7.2.5 or above. +#### Latest Composer + +PHP 7.2.5 or above for the latest version. + +#### Composer 2.2 LTS (Long Term Support) + +PHP versions 5.3.2 - 8.1 are still supported via the LTS releases of Composer (2.2.x). If you +run the installer or the `self-update` command the appropriate Composer version for your PHP +should be automatically selected. Authors ------- From 91a0a4c7d8a87e6a27b356d9bb5f881e525a97aa Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 23 Feb 2022 14:33:14 +0100 Subject: [PATCH 3/3] Also update requirements in docs --- doc/00-intro.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/00-intro.md b/doc/00-intro.md index ec088011f..96df2e21f 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -33,9 +33,11 @@ dependencies. ## System Requirements -Composer requires PHP 5.3.2+ to run. A few sensitive php settings and compile -flags are also required, but when using the installer you will be warned about -any incompatibilities. +Composer in its latest version requires PHP 7.2.5 to run. A long-term-support +version (2.2.x) still offers support for PHP 5.3.2+ in case you are stuck with +a legacy PHP version. A few sensitive php settings and compile flags are also +required, but when using the installer you will be warned about any +incompatibilities. To install packages from sources instead of plain zip archives, you will need git, svn, fossil or hg depending on how the package is version-controlled.