PHPackages                             simple-cart/cart - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. simple-cart/cart

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

simple-cart/cart
================

A simple cart

2.1.0(5y ago)018MITPHPPHP ^7.4

Since Nov 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tikoutare/simple-cart)[ Packagist](https://packagist.org/packages/simple-cart/cart)[ Docs](https://github.com/tikoutare/simple-cart)[ RSS](/packages/simple-cart-cart/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Simple-cart
===========

[](#simple-cart)

### Installation

[](#installation)

`composer require simple-cart/cart`

### Example

[](#example)

```
$cart = new SimpleCart\Cart([
    new Acme\Product()
]);

//total number of items in the cart
$cart->count(); //or count($cart)
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2043d ago

Major Versions

1.0.0 → 2.0.02020-11-28

PHP version history (2 changes)1.0.0PHP ^7.2

2.0.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/f59c855fbb7deb0e3ca82303f106e37c6cc6cbd4f56a04e72b5625674b0823ee?d=identicon)[tikoutare](/maintainers/tikoutare)

---

Top Contributors

[![tikoutare](https://avatars.githubusercontent.com/u/73130919?v=4)](https://github.com/tikoutare "tikoutare (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simple-cart-cart/health.svg)

```
[![Health](https://phpackages.com/badges/simple-cart-cart/health.svg)](https://phpackages.com/packages/simple-cart-cart)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

346132.9M112](/packages/google-cloud-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.1k1](/packages/phpactor-phpactor)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

190438.1k36](/packages/brianhenryie-strauss)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
