I am attempting to update a large Laravel app to Laravel 11 (i.e. turning it up to 11 :-)), and when I update the version of laravel/framework
in composer.json
, and run composer update laravel/framework
I get this:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires laravel/framework ^11.0, found laravel/framework[v11.0.0, ..., 11.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 2
- laravel/octane is locked to version v1.5.6 and an update of this package was not requested.
- laravel/octane v1.5.6 requires laravel/framework ^8.83.26|^9.38.0|^10.0 -> found laravel/framework[v8.83.26, v8.83.27, 8.x-dev, v9.38.0, ..., 9.x-dev, v10.0.0, ..., 10.x-dev] but it conflicts with your root composer.json require (^11.0).
so when I run composer update
(after updating versions of laravel/framework
, laravel/octane
, and symfony/http-kernel
in composer.json
)
composer update laravel/octane symfony/process laravel/framework illuminate/support symfony/http-kernel -W
I get
Problem 1
- laravel/framework[v11.0.0, ..., 11.x-dev] require symfony/process ^7.0 -> found symfony/process[v7.0.0-BETA1, ..., 7.2.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel/framework ^11.0 -> satisfiable by laravel/framework[v11.0.0, ..., 11.x-dev].
However, if I try to figure out conflicts for symfony/process
composer why-not symfony/process ^7
I get
No dependencies installed. Try running composer install or update, or use --locked.
even though I count 14 references to symfony/process
in composer.lock
How can I get past this to get everything updated?