feat: update composer deps & version

This commit is contained in:
Joel Male
2025-02-25 16:08:27 +10:00
parent 0f07b9ae8a
commit 158cf38f14
3 changed files with 1057 additions and 2732 deletions
+2 -2
View File
@@ -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();