PHPackages                             tandrezone/cart-officer - 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. [Framework](/categories/framework)
4. /
5. tandrezone/cart-officer

ActiveLibrary[Framework](/categories/framework)

tandrezone/cart-officer
=======================

A lightweight, session-based PHP shopping cart package. Supports add, update, delete and order creation.

v1.1.0(1mo ago)013MITPHP &gt;=7.4

Since May 15Compare

[ Source](https://github.com/tandrezone/cartOfficer)[ Packagist](https://packagist.org/packages/tandrezone/cart-officer)[ RSS](/packages/tandrezone-cart-officer/feed)WikiDiscussions Synced 3w ago

READMEChangelog (6)DependenciesVersions (8)Used By (0)

CartOfficer
===========

[](#cartofficer)

A lightweight, session-based PHP shopping cart composer package.
Supports adding products (with variants), updating quantities, deleting items and creating an order that POSTs the cart payload to your own endpoint — all with a polished, accessible slide-in UI.

---

Requirements
------------

[](#requirements)

RequirementVersionPHP≥ 7.4ComposeranyNo framework required — works with any PHP project.

---

Installation
------------

[](#installation)

```
composer require tandrezone/cart-officer
```

---

Quick Start
-----------

[](#quick-start)

### 1. Create the cart endpoint (e.g. `cart.php`)

[](#1-create-the-cart-endpoint-eg-cartphp)

```
