Download the PHP package mirahost/phpcart without Composer
On this page you can find all versions of the php package mirahost/phpcart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mirahost/phpcart
More information about mirahost/phpcart
Files in mirahost/phpcart
Download mirahost/phpcart
More information about mirahost/phpcart
Files in mirahost/phpcart
Vendor mirahost
Package phpcart
Short Description Simple framework agnostic shopping cart
License MIT
Homepage https://github.com/mirahost/phpcart
Package phpcart
Short Description Simple framework agnostic shopping cart
License MIT
Homepage https://github.com/mirahost/phpcart
Please rate this library. Is it a good library?
Informations about the package phpcart
PHPCart
Simple framework agnostic shopping cart. Forked from anam-hossain/phpcart to continue development.
Features
- Simple API
- Support multiple cart instances
- Framework agnostic
Requirements
- PHP 5.4+
Installation
PHPCart is available via Composer
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
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 phpcart with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
symfony/http-foundation Version ~3.0|~4.0
illuminate/support Version ~5.0
symfony/http-foundation Version ~3.0|~4.0
illuminate/support Version ~5.0
The package mirahost/phpcart contains the following files
Loading the files please wait ....