PHPackages                             studiomitte/cart-count - 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. [API Development](/categories/api)
4. /
5. studiomitte/cart-count

ActiveTypo3-cms-extension[API Development](/categories/api)

studiomitte/cart-count
======================

Endpoint for EXT:cart cart information which can be retrieved by an AJAX request

1.1.0(3mo ago)34.8k2GPL-2.0-or-laterPHP

Since Jul 29Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/studiomitte/cart_count)[ Packagist](https://packagist.org/packages/studiomitte/cart-count)[ Docs](https://studiomitte.com)[ RSS](/packages/studiomitte-cart-count/feed)WikiDiscussions main Synced today

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

TYPO3 Extension `cart_count`
============================

[](#typo3-extension-cart_count)

This extensions provides a basic endpoint to fetch information from current cart session when using the TYPO3 extension [cart](https://github.com/extcode/cart). The main benefit is to have pages still cacheable and show e.g. the count of articles in the cart.studiomitte

[![Example](./Resources/Public/Images/Example.png)](./Resources/Public/Images/Example.png)

```
{
    "net":551,
    "gross":551,
    "count":1,
    "products": [
        {
            "title":"A title",
            "sku":"1234",
            "net":551,
            "gross":551,
            "quantity":1
        }
    ]
}
```

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

[](#installation)

Install this extension by using `composer require studiomitte/cart-count`.

Usage
-----

[](#usage)

By calling the URL `/?cartId=123` you can retrieve the cart information. `123` is the page configured in the cart plugins where the order is saved.

This extension **does not** any JS to fetch the data but one example can be

```
$.get("/?cartId=195", function (data) {
    if (data.count > 0) {
        $(".cart__icon__wrapper").append("" + data.count + "");
    }
});
```

Credits
-------

[](#credits)

This extension was created by Georg Ringer for [Studio Mitte, Linz](https://studiomitte.com) with ♥.

[Find more TYPO3 extensions we have developed](https://www.studiomitte.com/loesungen/typo3) that provide additional features for TYPO3 sites.

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance82

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% 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 ~518 days

Total

5

Last Release

92d ago

Major Versions

0.1.3 → 1.0.02023-09-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d08c176686c8914d32c70d4af388887d738930fdfdf07c7ca9c841ad10ed683?d=identicon)[georgringer](/maintainers/georgringer)

---

Top Contributors

[![80Quattro](https://avatars.githubusercontent.com/u/24212368?v=4)](https://github.com/80Quattro "80Quattro (9 commits)")[![georgringer](https://avatars.githubusercontent.com/u/1905663?v=4)](https://github.com/georgringer "georgringer (6 commits)")[![morange](https://avatars.githubusercontent.com/u/8067083?v=4)](https://github.com/morange "morange (2 commits)")

---

Tags

typo3typo3-cms-extensiontypo3-extensionextensioncarttypo3count

### Embed Badge

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

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

PHPackages © 2026

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