mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 13:51:44 +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();
|
||||
|
||||
+4
-8
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "joelwmale/laravel-cart",
|
||||
"version": "1.1.0",
|
||||
"version": "1.2.0",
|
||||
"description": "A cart implementation for Laravel",
|
||||
"keywords": [
|
||||
"laravel",
|
||||
@@ -23,18 +23,14 @@
|
||||
"illuminate/support": "^10.0|^11.0|^12.0",
|
||||
"illuminate/auth": "^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/validation": "^10.0|^11.0|^12.0",
|
||||
"illuminate/translation": "^10.0|^11.0|^12.0"
|
||||
"illuminate/validation": "^10.0|^11.0|^12.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "^1.4.2",
|
||||
"mockery/mockery": "^1.6",
|
||||
"laravel/pint": "^1.21",
|
||||
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0|^10.0",
|
||||
"pestphp/pest": "^3.0",
|
||||
"larapack/dd": "dev-master",
|
||||
"illuminate/testing": "*"
|
||||
"larapack/dd": "dev-master"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
Generated
+1051
-2722
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user