{"repo":"darryldecode/laravelshoppingcart","free":true,"listed":false,"github":"https://github.com/darryldecode/laravelshoppingcart","clone":"git clone https://github.com/darryldecode/laravelshoppingcart.git","description":"Shopping Cart Implementation for Laravel Framework","language":"PHP","stars":1405,"topics":["laravel","laravel-shopping-cart","shopping-cart","laravel-cart","laravel-5-cart","laravel-5-shoppingcart","laravel-5-shopping-cart"],"license":null,"category":"ecommerce","readme_excerpt":"Laravel 5 & 6 , 7 & 9 Shopping Cart A Shopping Cart Implementation for Laravel Framework QUICK PARTIAL DEMO Demo: https://shoppingcart-demo.darrylfernandez.com/cart Git repo of the demo: https://github.com/darryldecode/laravelshoppingcart-demo INSTALLATION Install the package through Composer. For Laravel 5.1 : composer require \"darryldecode/cart: 2.0\" For Laravel 5.5, 5.6, or 5.7 , 9: or CONFIGURATION 1. Open config/app.php and add this line to your Service Providers Array. 2. Open config/app.php and add this line to your Aliases 3. Optional configuration file (useful if you plan to have full control) HOW TO USE - Quick Usage - Usage - Conditions - Items - Associating Models - Instances - Exceptions - Events - Format Response - Examples - Using Different Storage - License Quick Usage Example Usage IMPORTANT NOTE! By default, the cart has a default sessionKey that holds the cart data. This also serves as a cart unique identifier which you can use to bind a cart to a specific user. To override this default session Key, you will just simply call the \\Cart::session($sessionKey) method BEFORE ANY OTHER METHODS!!. Example: See More Examples below: Adding Item on Cart: Cart::add() There are several ways you can add items on your cart, see below: Updating an item on a cart: Cart::update() Updating an item on a cart is very simple: Removing an item on a cart: Cart::remove() Removing an item on a cart is very easy: Getting an item on a cart: Cart::get() Getting cart's contents and cou","default_branch":null,"files":null,"tree":[],"storefront":"/r/darryldecode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/darryldecode/laravelshoppingcart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}