PHPackages                             neosrulez/neos-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. neosrulez/neos-cart

ActiveNeos-package[Utility &amp; Helpers](/categories/utility)

neosrulez/neos-cart
===================

A shopping cart package for Neos Flow applications.

0.0.1(2y ago)061PHPPHP ^7.4 || ^8.0 || ^8.1

Since May 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/patriceckhart/NeosRulez.Neos.Cart)[ Packagist](https://packagist.org/packages/neosrulez/neos-cart)[ RSS](/packages/neosrulez-neos-cart/feed)WikiDiscussions main Synced 1mo ago

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

Shopping cart for Neos Flow
===========================

[](#shopping-cart-for-neos-flow)

A shopping cart package for Neos Flow applications.

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

[](#installation)

Just run:

```
composer require neosrulez/neos-cart

```

Configuration
-------------

[](#configuration)

```
NeosRulez:
  Neos:
    Cart:
      isNetCart: true
      slots:
        summary:
          subTotal:
            class: '\Acme\Package\Domain\Service\Cart\Summary\SubTotal'
              # executes the action "execute" and pass arguments to overrule the default action
          taxes:
            class: '\Acme\Package\Domain\Service\Cart\Summary\Taxes'
              # executes the action "execute" and pass arguments to overrule the default action
          total:
            class: '\Acme\Package\Domain\Service\Cart\Summary\Total'
              # executes the action "execute" and pass arguments to overrule the default action
```

Usage
-----

[](#usage)

Create a form. Whether it's a Neos Fusion form or a simple HTML form in a React component.

```

    Add to cart

```

```
use NeosRulez\Neos\Cart\Domain\Model\Cart;
use NeosRulez\Neos\Cart\Domain\Model\Cart;
use NeosRulez\Neos\Cart\Domain\Dto\Shipping;

//    Inject cart session model
    /**
     * @Flow\Inject
     * @var Cart
     */
    protected $cart;

//    Item
    $this->cart->add($item);
    $this->cart->update($item);
    $this->cart->delete($item);

//    Cart
    $items = $this->cart->getItems();
    $shipping = $this->cart->getShipping();
    $summary = $this->cart->getSummary();

    $this->cart->flush();

//    Summary
    $newShipping = new Shipping();
    $newShipping->setPrice(14.90);
    $newShipping->setTax(20);
    $newShipping->setProperty('name' => 'Worldwide shipping');

    $this->cart->setShipping($shipping);
```

Routes
------

[](#routes)

DescriptionRouteAdd item to cart/cart/item/addUpdate item in cart/cart/item/updateDelete item from cart/cart/item/deleteFlush cart/cart/flushAdd shipping information and price/cart/shipping/addGet items from cart/cart/itemsGet summary/cart/summaryAuthor
------

[](#author)

- E-Mail:
- URL:

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

1077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8604597e730303a1739fbb6a24bcf77019b22068e5d838ae4c12756e8121b488?d=identicon)[patriceckhart](/maintainers/patriceckhart)

---

Top Contributors

[![patriceckhart](https://avatars.githubusercontent.com/u/10776002?v=4)](https://github.com/patriceckhart "patriceckhart (15 commits)")

### Embed Badge

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

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

###  Alternatives

[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.0M27](/packages/neos-eel)[neos/form

Extensible and flexible API for building web forms

18853.0k40](/packages/neos-form)[neos/fusion-form

Fusion Form

19724.3k31](/packages/neos-fusion-form)[avency/neos-vardump

Neos VarDump Package

147.1k](/packages/avency-neos-vardump)

PHPackages © 2026

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