-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 11 support #279
Comments
Fixed by @thebatclaudio in #282 Until next release, you can use the |
Using
|
Hmm… Seems to be a problem with |
@matthew-hallsworth Have you tried including
|
Did so, here's the output
Then
Finally
Once I locked
|
sail@65b33006c0e8:/var/www/html$ php artisan --version
Laravel Framework 11.3.1
sail@65b33006c0e8:/var/www/html$ php --version
PHP 8.3.6 (cli) (built: Apr 11 2024 20:23:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans I'm having the same problem.sail@65b33006c0e8:/var/www/html$ composer require baopham/dynamodb:dev-master -W
Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
./composer.json has been updated
Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Running composer update baopham/dynamodb --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/database[v5.1.1, ..., v5.1.41] require illuminate/contracts 5.1.* -> found illuminate/contracts[v5.1.1, ..., v5.1.41] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v5.2.0, ..., v5.2.45] require illuminate/contracts 5.2.* -> found illuminate/contracts[v5.2.0, ..., v5.2.45] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v5.3.0, ..., v5.3.23] require illuminate/contracts 5.3.* -> found illuminate/contracts[v5.3.0, v5.3.4, v5.3.16, v5.3.23] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v5.4.0, ..., v5.4.36] require illuminate/contracts 5.4.* -> found illuminate/contracts[v5.4.0, ..., v5.4.36] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v5.5.0, ..., v5.5.44] require illuminate/contracts 5.5.* -> found illuminate/contracts[v5.5.0, ..., v5.5.44] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v5.6.0, ..., v5.8.36] require php ^7.1.3 -> your php version (8.3.6) does not satisfy that requirement.
- illuminate/database[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.3.6) does not satisfy that requirement.
- illuminate/database[v6.20.0, ..., v6.20.44] require illuminate/contracts ^6.0 -> found illuminate/contracts[v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.3.6) does not satisfy that requirement.
- illuminate/database[v7.29.0, ..., v7.30.6] require illuminate/contracts ^7.0 -> found illuminate/contracts[v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.3.6) does not satisfy that requirement.
- illuminate/database[v8.12.0, ..., v8.83.27] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- illuminate/database[v9.0.0, ..., v9.52.16] require illuminate/support ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires baopham/dynamodb dev-master -> satisfiable by baopham/dynamodb[dev-master].
- Conclusion: don't install laravel/framework v11.0.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.0.4 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.0.5 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.0.6 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.0.7 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.0.8 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.1.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.1.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.2.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.3.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v11.3.1 (conflict analysis result)
- laravel/framework v11.0.0 conflicts with mockery/mockery >=1.6.8.
- mockery/mockery is locked to version 1.6.11 and an update of this package was not requested.
- Conclusion: don't install laravel/framework v11.0.2 (conflict analysis result)
- baopham/dynamodb dev-master requires illuminate/database 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 || ^8.0 || ^9.0| ^10.0 || v11.0 -> satisfiable by laravel/framework[v11.0.0], illuminate/database[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.7, v11.0.0].
- Only one of these can be installed: illuminate/database[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.7, v11.0.0], laravel/framework[v11.0.0, ..., v11.3.1]. laravel/framework replaces illuminate/database and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^11.0 -> satisfiable by laravel/framework[v11.0.0, ..., v11.3.1].
Installation failed, reverting ./composer.json and ./composer.lock to their original content. I'll check in a clean Laravel 11 project. |
@matthew-hallsworth I found the problem. It was a typo in the version constraint 😆 |
Use ^6.5.0 🚀 |
Remember, this release is not tested for full Laravel 11 compatibility, it just allows you to install it. Check your use case and report any bug you found. |
Nice one :) I will test and report back any bugs. Thanks for your support on this tedious issue! |
You should use |
Hello!
I've tried to upgrade my existing L10 install that uses this library for interaction with DynamoDB, but the version constraints fail. I expect that this is because there's a new version of
illuminate/database
that hasn't been handled yet for this lib.composer.json:
Output from
composer update
is the following:Thanks!
The text was updated successfully, but these errors were encountered: