PHPackages                             joseph-montanez/phpcartload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. joseph-montanez/phpcartload

ActiveLibrary

joseph-montanez/phpcartload
===========================

Standalone shopping cart

v0.1.0(7y ago)091MITPHPPHP &gt;=7.0

Since Feb 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/joseph-montanez/PHPCartLoad)[ Packagist](https://packagist.org/packages/joseph-montanez/phpcartload)[ RSS](/packages/joseph-montanez-phpcartload/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

PHPCartLoad [![Build Status](https://camo.githubusercontent.com/51aba13bc09effeec63fddf587b55535574c76d5cfb35d1d2f1a3e4f55d6e952/68747470733a2f2f7472617669732d63692e6f72672f6a6f736570682d6d6f6e74616e657a2f504850436172744c6f61642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/joseph-montanez/PHPCartLoad)
============================================================================================================================================================================================================================================================================================================================

[](#phpcartload-)

[![codecov](https://camo.githubusercontent.com/fbe50422778ceb1bcec751a8964e89ae52845e73ca59227d78680ddbf739b2db/68747470733a2f2f636f6465636f762e696f2f67682f6a6f736570682d6d6f6e74616e657a2f504850436172744c6f61642f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/joseph-montanez/PHPCartLoad)[![SensioLabsInsight](https://camo.githubusercontent.com/a21ce1a719f73f98e1da3b24f6a3535f7c7bdb071254c094b739bc8e0701ba6c/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f33323665383365322d376535622d343037312d613434642d6133636537313131373938322f6d696e692e706e67)](https://insight.sensiolabs.com/projects/326e83e2-7e5b-4071-a44d-a3ce71117982)

Inspired by [Satchless](http://satchless.com/) for Python, PHPCartLoad is a feature rich library intended to help build shopping carts and general e-commerce applications. This library is to provide a foundation of easy to use classes to manage inventory pricing and carts. There is zero database requirements and is completely data driven.

License
-------

[](#license)

The library is MIT, do what you want with it.

To Do
-----

[](#to-do)

This is still alpha and undergoing changes for a better API. The following is to come:

- Reach 100% code coverage
- Create tests for weight
- Finish Cart API
    - Additional events for find, delete
    - Provide default duplicate logic
    - Taxes or just any price breakdown per item
    - Discounts, coupons via Pricing Rules (Mangento does a good job here)
- Consider multi-currency, multi-lingual support
- Stock API
    - In Stock
    - Drop-Shipped
    - Back Ordered (Including support for limiting to the amount back ordered)
- Shipping API
    - Initial Support For USPS
    - Guidelines for more shipping providers
    - Math stuff for calculating box sizes based on product dimensions and weight
- Order API
- Invoice API

Examples
--------

[](#examples)

Here are some examples of what is current available in the library.

- [Simple Pricing](#simple-pricing)
- [Bulk Pricing](#bulk-pricing)
- [SKU Variations](#sku-variations)
- [Combinations](#combinations)
- [Cart Events](#cart-events)

### Simple Pricing

[](#simple-pricing)

This is the Hello World of this library, showing you how little you have to do to start to get the library working with your existing code base.

```
