aws/aws-sdk-php-laravel

Support laravel 11

ArtemXML opened this issue · 3 comments

Describe the bug

This package doesn't support the new Laravel 11 version

It requires illuminate support, but this package was replaced by Laravel 11 and can't coexist.

Here is my stack trace

php composer require aws/aws-sdk-php-laravel
./composer.json has been updated
Running composer update aws/aws-sdk-php-laravel
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- aws/aws-sdk-php-laravel[1.0.0, ..., 1.0.2] require laravel/framework 4.0.* -> found laravel/framework[v4.0.0, ..., v4.0.11] but it conflicts with your root composer.json require (^11.0).
- aws/aws-sdk-php-laravel[1.0.3, ..., 1.2.0] require laravel/framework 4.* -> found laravel/framework[v4.0.0, ..., v4.2.22] but it conflicts with your root composer.json require (^11.0).
- aws/aws-sdk-php-laravel[1.0.4, ..., 1.1.2] require illuminate/foundation 4.* -> found illuminate/foundation[dev-master, 4.0.x-dev (alias of dev-master)] but it does not match your minimum-stability.
- aws/aws-sdk-php-laravel 2.0.0 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 2.0.1 requires illuminate/support 5.0.* -> found illuminate/support[v5.0.0, ..., v5.0.33] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel[3.0.0, ..., 3.3.2] require illuminate/support ~5.1 -> found illuminate/support[v5.1.1, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.4.0 requires illuminate/support ~5.1|~6.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.5.0 requires illuminate/support ^5.1 || ^6.0 || ^7.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.6.0 requires illuminate/support ^5.1 || ^6.0 || ^7.0 || ^8.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.7.0 requires illuminate/support ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel[3.8.0, ..., 3.8.1] require illuminate/support ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.3] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires aws/aws-sdk-php-laravel * -> satisfiable by aws/aws-sdk-php-laravel[1.0.0, ..., 1.2.0, 2.0.0, 2.0.1, 3.0.0, ..., 3.8.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require aws/aws-sdk-php-laravel:*" to figure out if any version is installable, or "composer require aws/aws-sdk-php-laravel:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

And also my compose dependencies.
"require": {
"php": "^8.2",
"barryvdh/laravel-dompdf": "^2.0",
"guzzlehttp/guzzle": "^7.2",
"intervention/image": "^2.7",
"laravel/framework": "^11.0",
"laravel/horizon": "^5.23",
"laravel/prompts": "^0.1.8",
"laravel/sanctum": "^4.0",
"laravel/telescope": "^5.0",
"laravel/tinker": "^2.8",
"minishlink/web-push": "^8.0",
"phpoffice/phpspreadsheet": "^1.29",
"propaganistas/laravel-phone": "^5.0"
},.

Expected Behavior

Install this version with Laravel 11 as described in Readme

Current Behavior

composer require return errors

php composer require aws/aws-sdk-php-laravel
./composer.json has been updated
Running composer update aws/aws-sdk-php-laravel
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- aws/aws-sdk-php-laravel[1.0.0, ..., 1.0.2] require laravel/framework 4.0.* -> found laravel/framework[v4.0.0, ..., v4.0.11] but it conflicts with your root composer.json require (^11.0).
- aws/aws-sdk-php-laravel[1.0.3, ..., 1.2.0] require laravel/framework 4.* -> found laravel/framework[v4.0.0, ..., v4.2.22] but it conflicts with your root composer.json require (^11.0).
- aws/aws-sdk-php-laravel[1.0.4, ..., 1.1.2] require illuminate/foundation 4.* -> found illuminate/foundation[dev-master, 4.0.x-dev (alias of dev-master)] but it does not match your minimum-stability.
- aws/aws-sdk-php-laravel 2.0.0 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 2.0.1 requires illuminate/support 5.0.* -> found illuminate/support[v5.0.0, ..., v5.0.33] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel[3.0.0, ..., 3.3.2] require illuminate/support ~5.1 -> found illuminate/support[v5.1.1, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.4.0 requires illuminate/support ~5.1|~6.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.5.0 requires illuminate/support ^5.1 || ^6.0 || ^7.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.6.0 requires illuminate/support ^5.1 || ^6.0 || ^7.0 || ^8.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel 3.7.0 requires illuminate/support ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- aws/aws-sdk-php-laravel[3.8.0, ..., 3.8.1] require illuminate/support ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 -> found illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.3] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires aws/aws-sdk-php-laravel * -> satisfiable by aws/aws-sdk-php-laravel[1.0.0, ..., 1.2.0, 2.0.0, 2.0.1, 3.0.0, ..., 3.8.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require aws/aws-sdk-php-laravel:*" to figure out if any version is installable, or "composer require aws/aws-sdk-php-laravel:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Reproduction Steps

try to add this package to the project with Laravel 11

php composer require aws/aws-sdk-php-laravel

Possible Solution

No response

Additional Information/Context

No response

SDK version used

3.8.1

Environment details (OS name and version, etc.)

Docker image based on ubuntu:22.04

Hi @ArtemXML,

I'm waiting for approvals on #242 before we cut a new release with support for 11— It's currently in our codebase. Should be able to get this out on Monday.

Hi @ArtemXML,

Closing this, as 3.9.0 is live. Let us know if you have any additional questions.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.