Registry / web-framework / gloudemans-shoppingcart

gloudemans-shoppingcart

JSON →
library2.6.0phppackagistunverified

Laravel Shoppingcart package.

composer require gloudemans/shoppingcart
INSTALL
IMPORT
SIG · GLOUDEMANS-SHOPPIN
G
gloudemans-shoppingcart
web-frameworkphpv2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cart
use Gloudemans\Shoppingcart\Cart;

Add an item to the cart and get total

use Gloudemans\Shoppingcart\Cart; Cart::add('product-1', 'Product Name', 1, 19.99); $total = Cart::total();
Debug
Known issues
breakingRequires Laravel 5+
fix
Use compatible version for older Laravel
affects: >=2.0.0
Upgrade
Version history
2.6.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
10
Amazon
1
Resources
gloudemans-shoppingcart — pip install gloudemans-shoppingcart · libregistry