I can not get Moltin Laravel Cart to install. It always tells me that Your requirements could not be resolved to an installable set of packages.
Get this output from the Terminal:
Problem 1
Installation request for moltin/laravel-cart dev-master -> satisfiable by moltin/laravel-cart[dev-master].
moltin/laravel-cart dev-master requires moltin/cart dev-master -> no matching package found.
Potential causes:
I just have added the requirement in the composer.json file as the tutorial says
...
"require": {
"laravel/framework": "4.1.*",
"intervention/image": "dev-master",
"moltin/laravel-cart": "dev-master"
},
...
Could anybody tell me how to fix it?
Change
minimum-stability: 'stable' to minimum-stability: 'dev'
Then after
minimum-stability: 'dev'
just add
"prefer-stable": true
like such:
"minimum-stability": "dev",
"prefer-stable": true
You can define all the required packages first as dev-master as this will avoid the required packages not loading due to no stable versions being found. i.e.
"require": {
"laravel/framework": "4.1.*",
"moltin/currency": "dev-master",
"moltin/tax": "dev-master",
"moltin/cart": "dev-master",
"moltin/laravel-cart": "dev-master"
},
Changing the minimum-stability to dev at the bottom of composer.json will also achieve the same. i.e.
"minimum-stability": "dev",
"prefer-stable": true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With