Open mohamedmehdigara opened 2 years ago
You should run the command composer require gloudemans/shoppingcart
inside the project you want to use the shopping cart.
You are installing the package inside itself.
Create a new Laravel project in htdocs and use the command only after cd {project_name}
PS C:\xampp\htdocs\LaravelShoppingcart> composer require gloudemans/shoppingcart Using version ^2.6 for gloudemans/shoppingcart Root package 'gloudemans/shoppingcart' cannot require itself in its composer.json PS C:\xampp\htdocs\LaravelShoppingcart>