LaravelShoppingcart: Incompatible with Laravel 10
PHP 8.2, Laravel 10.0
Tried to install it via: composer require bumbummen99/shoppingcart
Response:
Problem 1
- bumbummen99/shoppingcart dev-update_2 requires illuminate/support 5.6.*|5.7.* -> found illuminate/support[v5.6.0, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-refactor-database-items, dev-refactor-moneyphp, dev-refactor] require illuminate/support ^6.0|^7.0|^8.0|^9.0 -> found illuminate/support[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] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart 5.8.x-dev requires illuminate/support 5.1.*||5.2.*||5.3.*||5.4.*||5.5.*||5.6.*||5.7.*||5.8.* -> found illuminate/support[v5.1.1, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[1.0, ..., 1.2.1] require illuminate/support ~4 -> found illuminate/support[v4.0.0-BETA2, ..., 4.2.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart 1.3 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[2.0.0, ..., 2.1.2] require illuminate/support 5.1.*|5.2.* -> found illuminate/support[v5.1.1, ..., 5.2.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[2.2.0, ..., 2.2.4] require illuminate/support 5.1.*|5.2.*|5.3.* -> found illuminate/support[v5.1.1, ..., 5.3.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart 2.3.0 requires illuminate/support 5.1.*|5.2.*|5.3.*|5.4.* -> found illuminate/support[v5.1.1, ..., 5.4.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-dev-laravel55, 2.4.0] require illuminate/support 5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> found illuminate/support[v5.1.1, ..., 5.5.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart 2.5.0 requires illuminate/support 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* -> found illuminate/support[v5.1.1, ..., 5.6.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-update, dev-discount, 2.6.0, ..., 2.7.7] require illuminate/support 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-back, dev-backport, 2.8.0, ..., 2.8.2] require illuminate/support 5.4.*||5.5.*||5.6.*||5.7.*||5.8.* -> found illuminate/support[v5.4.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart 2.8.3 requires illuminate/support 5.4.*||5.5.*||5.6.*||5.7.*||5.8.*||6.0.* -> found illuminate/support[v5.4.0, ..., 5.8.x-dev, v6.0.0, ..., v6.0.4] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-readme-cart-total-rounding-issue, dev-readme-german, dev-feature-gross-price, 2.8.4, ..., 2.8.9] require illuminate/support 5.4.*||5.5.*||5.6.*||5.7.*||5.8.*||^6.0 -> found illuminate/support[v5.4.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-fix_cart_database_timestamps, 2.9.0, ..., 2.9.1] require illuminate/support 5.4.*||5.5.*||5.6.*||5.7.*||5.8.*||^6.0||^7.0 -> found illuminate/support[v5.4.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-contributors-readme-action-MK_QGGzZOr, dev-contributors-readme-action-M-4_Tz-nNv, 2.10.0, 3.0.0, ..., 3.2.0, 4.0.0, ..., 4.1.0] require illuminate/support 5.4.*||5.5.*||5.6.*||5.7.*||5.8.*||^6.0||^7.0||^8.0 -> found illuminate/support[v5.4.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- bumbummen99/shoppingcart[dev-contributors-readme-action-KhPaPlWC0I, dev-contributors-readme-action-meFlvdHOi1, dev-master, 4.1.1, ..., 4.2.0] require illuminate/support 5.4.*||5.5.*||5.6.*||5.7.*||5.8.*||^6.0||^7.0||^8.0||^9.0 -> found illuminate/support[v5.4.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] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires bumbummen99/shoppingcart * -> satisfiable by bumbummen99/shoppingcart[dev-readme-cart-total-rounding-issue, ..., dev-backport, 1.0, ..., 1.3, 2.0.0, ..., 2.10.0, 3.0.0, 3.1.0, 3.2.0, 4.0.0, 4.1.0, 4.1.1, 4.2.0, 5.8.x-dev, 9999999-dev].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require bumbummen99/shoppingcart:*" to figure out if any version is installable, or "composer require bumbummen99/shoppingcart:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 25
Hi, people
I found some solutions to use this package compatible with Laravel 10
Solution 1 by @Vincent-dejong
Using Vincent-dejong’s version:
Add his repository in your composer.json
Select a dev version to use his compatible branch
Solution 2 by @phobrv
Using phobrv’s version:
Add his repository in your composer.json
Select a dev version to use his compatible branch
Solution 3
Using my forked library https://packagist.org/packages/anayarojo/shoppingcart
Check this comment https://github.com/bumbummen99/LaravelShoppingcart#attention
Because of that, currently, I’m using my own forked package
Some people have contributed here, you are welcome to contribute and use this forked library https://packagist.org/packages/anayarojo/shoppingcart https://github.com/anayarojo/laravel-shopping-cart