PHPackages                             yireo-training/magento2-example-notify-cart-update - 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. yireo-training/magento2-example-notify-cart-update

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

yireo-training/magento2-example-notify-cart-update
==================================================

Example Magento 2 module showing how to observe KnockoutJS-based cart updates

6493JavaScript

Since Aug 19Pushed 5y ago3 watchersCompare

[ Source](https://github.com/yireo-training/magento2-example-notify-cart-update)[ Packagist](https://packagist.org/packages/yireo-training/magento2-example-notify-cart-update)[ RSS](/packages/yireo-training-magento2-example-notify-cart-update/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Example Knockout cart observer
==============================

[](#example-knockout-cart-observer)

Example Magento 2 module showing how to observe KnockoutJS-based cart updates

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

[](#installation)

To install use the following composer command:

```
composer require yireo-training/magento2-example-notify-cart-update:dev-master

```

Next enable the module:

```
bin/magento module:enable Yireo_ExampleNotifyCartUpdate
bin/magento setup:upgrade

```

And flush the cache:

```
bin/magento cache:clean

```

Proof of concept
================

[](#proof-of-concept)

After installing the module, every time when the (mini)cart is updated, a dump should be logged to the console.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a6a4e3ec0e7f3a8d2d223c90c5545319fc0a382afd3bc10cd910fedc0fa8f5d?d=identicon)[yireo-training](/maintainers/yireo-training)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (8 commits)")

### Embed Badge

![Health badge](/badges/yireo-training-magento2-example-notify-cart-update/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-training-magento2-example-notify-cart-update/health.svg)](https://phpackages.com/packages/yireo-training-magento2-example-notify-cart-update)
```

###  Alternatives

[ymirapp/wordpress-plugin

Ymir WordPress plugin

3531.6k](/packages/ymirapp-wordpress-plugin)[ck/file_marc_reference

MARCspec adapter for File\_MARC

1072.8k1](/packages/ck-file-marc-reference)

PHPackages © 2026

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