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/). Install the package through [Composer](http://getcomposer.org/).
`composer require "joelwmale/laravel-cart"` `composer require joelwmale/laravel-cart`
## 🧑‍🍳 Demo ## 🧑‍🍳 Demo
@@ -58,7 +58,7 @@ ## 🧑‍🍳 Demo
\Cart::remove(1); \Cart::remove(1);
// get the total of the cart // 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) // clear it all when you've finished (like when you've stored the order)
\Cart::clear(); \Cart::clear();
+4 -8
View File
@@ -1,6 +1,6 @@
{ {
"name": "joelwmale/laravel-cart", "name": "joelwmale/laravel-cart",
"version": "1.1.0", "version": "1.2.0",
"description": "A cart implementation for Laravel", "description": "A cart implementation for Laravel",
"keywords": [ "keywords": [
"laravel", "laravel",
@@ -23,18 +23,14 @@
"illuminate/support": "^10.0|^11.0|^12.0", "illuminate/support": "^10.0|^11.0|^12.0",
"illuminate/auth": "^10.0|^11.0|^12.0", "illuminate/auth": "^10.0|^11.0|^12.0",
"illuminate/container": "^10.0|^11.0|^12.0", "illuminate/container": "^10.0|^11.0|^12.0",
"illuminate/contracts": "^10.0|^11.0|^12.0",
"illuminate/database": "^10.0|^11.0|^12.0", "illuminate/database": "^10.0|^11.0|^12.0",
"illuminate/validation": "^10.0|^11.0|^12.0", "illuminate/validation": "^10.0|^11.0|^12.0"
"illuminate/translation": "^10.0|^11.0|^12.0"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^1.4.2", "mockery/mockery": "^1.6",
"laravel/pint": "^1.21", "laravel/pint": "^1.21",
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0|^10.0",
"pestphp/pest": "^3.0", "pestphp/pest": "^3.0",
"larapack/dd": "dev-master", "larapack/dd": "dev-master"
"illuminate/testing": "*"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
Generated
+1051 -2722
View File
File diff suppressed because it is too large Load Diff