Double check you have composer correct, When I upgraded there were no errors. Look at new version composer.json as a reference.
Problem Updating to laravel/framework Version 9
Cannot update laravel/framework by updating to version 9.0 then running composer update. I also upper the version for nunomaduro/collision as per the upgrade guide. There seems to be a php version mismatch with illuminate/support, a package not directly defined by my project's composer requirements.
Standard output after running composer update with and without --with-all-dependencies option:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.0) does not satisfy that requirement.
- Root composer.json requires therobfonz/laravel-mandrill-driver ^3.1 -> satisfiable by therobfonz/laravel-mandrill-driver[v3.1.0].
- Conclusion: don't install laravel/framework v9.0.0-beta.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.4 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.5 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.1.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.1 (conflict analysis result)
- therobfonz/laravel-mandrill-driver v3.1.0 requires illuminate/support ^8.0 -> satisfiable by illuminate/support[v8.0.0, ..., 8.x-dev].
- Only one of these can be installed: illuminate/support[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.0.0-beta.1, ..., 9.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
composer.json require and require dev:
"require": {
"php": "^8.0.2",
"beyondcode/nova-tinker-tool": "1.1.0",
"doctrine/dbal": "^3.3.2",
"fruitcake/laravel-cors": "^2.0.5",
"guzzlehttp/guzzle": "^7.4.1",
"kabbouchi/nova-impersonate": "^1.11",
"kabbouchi/nova-logs-tool": "^0.5.0",
"laravel/cashier": "^13.8",
"laravel/framework": "^9.0",
"laravel/jetstream": "^2.6",
"laravel/nova": "*",
"laravel/sanctum": "^2.14.1",
"laravel/slack-notification-channel": "^2.4.0",
"laravel/tinker": "^2.7.0",
"livewire/livewire": "^2.0",
"rollbar/rollbar-laravel": "^7.0",
"sbine/route-viewer": "^0.0.7",
"spatie/laravel-http-logger": "^1.9.0",
"spatie/laravel-permission": "^5.5",
"spatie/nova-backup-tool": "^4.2.0",
"therobfonz/laravel-mandrill-driver": "^3.1"
},
"require-dev": {
"spatie/laravel-ignition": "^1.0",
"fakerphp/faker": "^1.19",
"mockery/mockery": "^1.5.0",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.13"
}
Running:
- locally on Laravel Homestead v13.2.1
- PHP 8.1.0
- Composer version 2.2.6
It's because the therobfonz/laravel-mandrill-driver package hasn't yet been updated to support Laravel 9.
You can either submit a PR to bump the dependencies, or you can fork the package and do it yourself. Then, in your composer.json file, you can install your forked copy like this:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/YourUsername/laravel-mandrill-driver"
}
]
Please or to participate in this conversation.