PHPackages                             dneustadt/dn-state-manager-debug - 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. [CLI &amp; Console](/categories/cli)
4. /
5. dneustadt/dn-state-manager-debug

AbandonedArchivedShopware-plugin[CLI &amp; Console](/categories/cli)

dneustadt/dn-state-manager-debug
================================

Shopware plugin featuring a Javascript console debug tool for the StateManager

1.0.0(8y ago)09MITJavaScript

Since Mar 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dneustadt/DnStateManagerDebug)[ Packagist](https://packagist.org/packages/dneustadt/dn-state-manager-debug)[ RSS](/packages/dneustadt-dn-state-manager-debug/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Shopware StateManager Debug
===========================

[](#shopware-statemanager-debug)

> **Discontinued** - now part of [FroshProfiler](https://github.com/FriendsOfShopware/FroshProfiler)

Shopware Plugin featuring a Javascript console debug tool for the StateManager.

Will log ...

... PubSub events:

- subscribe (*event name*)
- unsubscribe (*event name*)
- publish (*event name, arguments*)

... Plugin registration:

- addPlugin (*plugin name, element, viewports*)
- removePlugin (*plugin name, element*)
- updatePlugin (*plugin name, element*)
- destroyPlugin (*plugin name, element*)

... Breakpoint change:

- switchPlugins (*previous/current state*)

... Plugin initialization:

- initPlugin (*plugin name, selector, event handlers*)

Filter
------

[](#filter)

You can filter output by ...

- type (available: *subscribe, unsubscribe, publish, addPlugin, removePlugin, updatePlugin, destroyPlugin, switchPlugins, initPlugin*)
- event name
- plugin name

To set filter use the javascript console and the following functions, corresponding to each filter:

```
StateDebug.setFilterType('publish');
StateDebug.setFilterEvent(['onTrackItems', 'onSetSizes']);
StateDebug.setFilterPlugin('swAjaxVariant');
```

You can pass a single filter criteria as string or an array of multiple filter criterias.

Type criterias need to be exact and available (see above). Event and plugin name criterias can include part of the name.

To reset filter criterias call the function without any arguments.

Example output
--------------

[](#example-output)

```
(initPlugin)     swMenuScroller [selector: "*[data-menu-scroller="true"]", events: ▶ Array(3)]
(initPlugin)     dnVariantSwitch [selector: "*[data-variant-switch="true"]"]
(subscribe)      plugin/swAddArticle/onAddArticle
(subscribe)      plugin/swCollapseCart/onRemoveArticleFinished
(publish)        plugin/swAjaxProductNavigation/onProductNavigationLoaded [arguments: ▶ Array(2)]
(publish)        plugin/swProductSlider/onBuffer [arguments: ▶ Array(4)]
(switchPlugins)  [previousState: xl, currentState: xs]
(destroyPlugin)  swTabMenu [element: ▶ n.fn.init [div.tab-menu--product.js--tab-menu, ...]]
(unsubscribe)    plugin/swImageSlider/onRightArrowClick.swImageZoom

```

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

[](#installation)

- Clone this repository into a folder **DnStateManagerDebug** within the **custom/plugins** directory of the Shopware installation.
- Install the plugin through the Plugin-Manager within the Shopware backend.

### Install with composer

[](#install-with-composer)

- Change to your root installation of shopware
- Run command `composer require dneustadt/dn-state-manager-debug` and install and activate plugin with Plugin Manager

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

[](#requirements)

- Shopware 5.4.0 or higher
- PHP 7.0

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3022d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69c1745bd6023c706f651e9bdb38515fc7678caf52b9580126141381168669cd?d=identicon)[dneustadt](/maintainers/dneustadt)

---

Top Contributors

[![dneustadt](https://avatars.githubusercontent.com/u/9033214?v=4)](https://github.com/dneustadt "dneustadt (26 commits)")

---

Tags

consoledebugeventsjavascriptjquerypluginsshopwareshopware-pluginstatestatemanagerconsolejavascriptdebugeventsshopwarejquerystatepluginsshopware-pluginstatemanager

### Embed Badge

![Health badge](/badges/dneustadt-dn-state-manager-debug/health.svg)

```
[![Health](https://phpackages.com/badges/dneustadt-dn-state-manager-debug/health.svg)](https://phpackages.com/packages/dneustadt-dn-state-manager-debug)
```

###  Alternatives

[drupal/console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.

93415.1M161](/packages/drupal-console)[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2702.1M60](/packages/buggregator-trap)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[coresphere/console-bundle

This bundle allows you accessing the symfony2 console via your browser

140338.4k5](/packages/coresphere-console-bundle)

PHPackages © 2026

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