Hi there,
so I recently had a shift and my version was updated to Laravel 9.
Running "composer update" I receive those errors and I am scratching my head a bit to solve those.
Composer is not my strong foot, I admit:
composer update
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- php-http/guzzle6-adapter[v2.0.0, ..., v2.0.1] require php ^7.1 -> your php version (8.1.13) does not satisfy that requirement.
- php-http/guzzle6-adapter[v2.0.2, ..., 2.x-dev] require guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.2).
- Root composer.json requires php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0, v2.0.1, v2.0.2, 2.x-dev].
Anyone able to help me, or even explain a sentence or two, what's going on here?
IN case it is needed, here is the whole composer.json:
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^8.0",
"aws/aws-sdk-php-laravel": "^3.7",
"berkayk/onesignal-laravel": "^1.0.3",
"cartalyst/stripe-laravel": "^14.0",
"dawson/youtube": "dev-master",
"doctrine/dbal": "^2.13",
"dusterio/laravel-aws-worker": "^0.1.30",
"guzzlehttp/guzzle": "^7.2",
"imdhemy/laravel-purchases": "^0.10.3",
"intervention/image": "^2.7",
"laravel-notification-channels/onesignal": "^2.4",
"laravel/cashier": "^13.7",
"laravel/framework": "^9.42",
"laravel/helpers": "^1.5",
"laravel/tinker": "^2.7",
"laravel/ui": "^3.3",
"laravelium/sitemap": "^8.0",
"league/flysystem-aws-s3-v3": "^3.0",
"mailgun/mailgun-php": "^3.5",
"nyholm/psr7": "^1.4",
"php-http/guzzle6-adapter": "^2.0",
"php-open-source-saver/jwt-auth": "^2.0",
"predis/predis": "^1.1",
"rap2hpoutre/laravel-log-viewer": "^2.1",
"spatie/laravel-backup": "^8.0",
"stil/gd-text": "^1.1",
"symfony/http-client": "^6.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6",
"beyondcode/laravel-dump-server": "^1.8",
"filp/whoops": "^2.14",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.3",
"phpunit/phpunit": "^9.5.10",
"fakerphp/faker": "^1.9.1",
"spatie/laravel-ignition": "^1.4"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"ext-pcntl": "8.0",
"ext-posix": "8.0"
}
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"files": [
"app/Http/helpers.php"
],
"psr-4": {
"App\": "app/",
"Database\Factories\": "database/factories/",
"Database\Seeders\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
]
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ChrAus/youtube"
}
]
}