– bumbummen99/shoppingcart[1.0, …, 1.2.1] require illuminate/support ~4 -> found illuminate/support[v4.0.0, …, v4.2.17]
In this tutorial i’m going to install shoppingcart in laravel 10 using command but showing some error,
Problem 1
- bumbummen99/shoppingcart[1.0, ..., 1.2.1] require illuminate/support ~4 -> found illuminate/support[v4.0.0, ..., v4.2.17]
Soution: –
Go to composer.json file and put below code
"repositories": [
{
"type": "vcs",
"url": "https://github.com/phobrv/LaravelShoppingcart.git",
"no-api": true
}
],
Next go to composer.json file -> require function and put below code
"bumbummen99/shoppingcart": "dev-laravel10"
Next run below command
composer update
Now update working and installed successfully.
After run below command
php artisan vendor:publish --provider="Gloudemans\Shoppingcart\ShoppingcartServiceProvider" --tag="config"