Hey guys, so i have a problem when upgrading from laravel 9 to 10 and i'm getting this error:
Problem 1
- illuminate/contracts[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.2.6) does not satisfy that requirement.
- illuminate/contracts[v6.20.0, ..., 6.x-dev, v7.29.0, ..., 7.x-dev, v8.12.0, ..., 8.x-dev] require psr/simple-cache ^1.0 -> found psr/simple-cache[1.0.0, 1.0.1] but it conflicts with your root composer.json require (^2.0).
- illuminate/contracts[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.2.6) does not satisfy that requirement.
- illuminate/contracts[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.2.6) does not satisfy that requirement.
- cyrildewit/eloquent-viewable v6.1.0 requires illuminate/contracts ^6.0|^7.0|^8.0|^9.0 -> satisfiable by illuminate/contracts[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev].
- inertiajs/inertia-laravel v0.6.3 requires php ^7.2|~8.0.0|~8.1.0 -> your php version (8.2.6) does not satisfy that requirement.
- inertiajs/inertia-laravel v0.6.4 requires laravel/framework ^6.0|^7.0|^8.74|^9.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.74.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but it conflicts with your root composer.json require (^v10.13.1).
- Root composer.json requires cyrildewit/eloquent-viewable ^6.1 -> satisfiable by cyrildewit/eloquent-viewable[v6.1.0].
- inertiajs/inertia-laravel[v0.6.5, ..., v0.6.9] require laravel/framework ^6.0|^7.0|^8.74|^9.0|^10.0 -> satisfiable by laravel/framework[v10.13.1, 10.x-dev].
- Only one of these can be installed: illuminate/contracts[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.28.0, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v10.13.1, 10.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it.
#Upgrade from laravel 9 to 10 fails
4 messages · Page 1 of 1 (latest)
You’re trying to install version 6.1.0 of that cyrildewit package, which only supports up to Laravel 9: https://packagist.org/packages/cyrildewit/eloquent-viewable#v6.1.0