theill11/shoppingcart

Lightweight Shopping Cart implemented in PHP

dev-master / 1.0.x-dev 2015-03-04 18:12 UTC

This package is not auto-updated.

Last update: 2025-06-21 21:02:44 UTC


README

Lightweight shopping cart library implemented in PHP. For storage it uses Symfony Session components, where you can switch between several storage handlers or just use native session handling.

Build Status Dependency Status Code Coverage Scrutinizer Code Quality Code Climate

Latest Stable Version Latest Unstable Version Total Downloads License

Installation

The preferred way to install this extension is through composer. Remember to refer to the composer.json for this extension's requirements and dependencies.

Install

Either run

$ php composer.phar require theill11/shoppingcart "*"

or add

"theill11/shoppingcart": "*"

to the require section of your composer.json file.

Usage

See examples/index.php

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

See CHANGELOG.md

Credits

Inspiration taken from the following repositories:

sashaaro/ShoppingCart

leaphly/cart

License

theill11/shoppingcart is released under the MIT License. See the bundled LICENSE.md for details.