Download the PHP package miladev/lara-cart without Composer
On this page you can find all versions of the php package miladev/lara-cart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download miladev/lara-cart
More information about miladev/lara-cart
Files in miladev/lara-cart
Download miladev/lara-cart
More information about miladev/lara-cart
Files in miladev/lara-cart
Vendor miladev
Package lara-cart
Short Description Laravel shopping cart
License MIT
Homepage https://github.com/miladev95/lara-cart
Package lara-cart
Short Description Laravel shopping cart
License MIT
Homepage https://github.com/miladev95/lara-cart
Please rate this library. Is it a good library?
Informations about the package lara-cart
Lara-PHPCart
Laravel PHP shopping cart
Features
- Simple API
- Support multiple cart instances
Requirements
- Laravel 5+
Installation
Lara-phpcart is available via Composer
You can now use this facade in place of instantiating the Cart yourself in the following examples.
Usage
Add Item
The add method required id
, name
, price
and quantity
keys. However, you can pass any data that your application required.
Update Item
Update quantity
Update price
Remove an Item
Get all Items
Get an Item
Determining if an Item exists in the cart
Get the total number of items in the cart
Get the total quantities of items in the cart
Total sum
Empty the cart
Multiple carts
Lara-PHPCart supports multiple cart instances, so that you can have as many shopping cart instances on the same page as you want without any conflicts.
All versions of lara-cart with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package miladev/lara-cart contains the following files
Loading the files please wait ....