Skip to content

Conversation

nunomaduro
Copy link
Member

@nunomaduro nunomaduro commented Feb 13, 2023

Composer 1 has been officially deprecated for several months and is no longer compatible with PHP 8.2. In order to provide a solid foundation for Laravel 10 projects, this pull request proposes (at least) the usage of Composer 2.2, which has Long-Term Support, in new Laravel 10 projects. This version ensures that critical bugs and security concerns will be addressed until at least the end of 2023.

Note that the "composer-runtime-api": "^2.2" is a virtual package which is provided by Composer and will make sure people have to use Composer ^2.2 to use Laravel 10.

Once this pull request is accepted, I will update the upgrade guide to include instructions on upgrading to Composer ^2.2.

Upgrade guide pull request: laravel/docs#8564.

@nunomaduro nunomaduro marked this pull request as ready for review February 13, 2023 12:39
@nunomaduro nunomaduro changed the title [10.x] Requires composer 2 [10.x] Requires Composer ^2.2 Feb 13, 2023
@taylorotwell taylorotwell merged commit 88b703b into 10.x Feb 13, 2023
@taylorotwell taylorotwell deleted the feat/enforce-composer-v2 branch February 13, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants