mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 22:01:48 +00:00
feat: update composer deps & version
This commit is contained in:
@@ -31,7 +31,7 @@ ### 🔥 Installing
|
||||
|
||||
Install the package through [Composer](http://getcomposer.org/).
|
||||
|
||||
`composer require "joelwmale/laravel-cart"`
|
||||
`composer require joelwmale/laravel-cart`
|
||||
|
||||
## 🧑🍳 Demo
|
||||
|
||||
@@ -58,7 +58,7 @@ ## 🧑🍳 Demo
|
||||
\Cart::remove(1);
|
||||
|
||||
// get the total of the cart
|
||||
\$total = Cart::getTotal();
|
||||
$total = Cart::getTotal();
|
||||
|
||||
// clear it all when you've finished (like when you've stored the order)
|
||||
\Cart::clear();
|
||||
|
||||
Reference in New Issue
Block a user