PHPackages                             wwwision/node-event-log - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. wwwision/node-event-log

ActiveNeos-package[Logging &amp; Monitoring](/categories/logging)

wwwision/node-event-log
=======================

Log for nodes in the Event Sourced Content Repository

0.3.0(3y ago)01.3k1MITPHPPHP &gt;= 7.4

Since Jun 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bwaidelich/Wwwision.NodeEventLog)[ Packagist](https://packagist.org/packages/wwwision/node-event-log)[ RSS](/packages/wwwision-node-event-log/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (8)Dependencies (6)Versions (9)Used By (0)

Wwwision.NodeEventLog
=====================

[](#wwwisionnodeeventlog)

Log for nodes in the Event Sourced Content Repository

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

[](#installation)

Install via [composer](https://getcomposer.org/):

```
composer require wwwision/node-event-log

```

Afterwards make sure to execute doctrine migrations:

```
./flow doctrine:migrate

```

The `EventLogProjector` is registered as event listener for the "ContentRepository" event store and will be updated whenever new events are published.

To initialize the projector with already published events, the `projection:replay` command can be used:

```
./flow projection:replay eventlog

```

Usage
-----

[](#usage)

### Filtering

[](#filtering)

The event log can be filtered by numerous attributes including:

- The affected **node** (recursively or not)
- The **content stream** (or **workspace name**)
- The **initiating user**
- The **dimension space point**

#### Example:

[](#example)

```
$recursively = true;
$filter = EventLogFilter::create()
    ->forNode(NodeAggregateIdentifier::fromString('some-node-id'), $recursively)
    ->inContentStream(ContentStreamIdentifier::fromString('some-content-stream-id'))
    ->forInitiatingUser(UserIdentifier::fromString('some-user-id'))
    ->skipInheritedEvents();
```

### Render first 5 event types

[](#render-first-5-event-types)

```
$result = $this->eventLog->filter(EventLogFilter::create());
echo 'Total number of results: ' . $result->count() . PHP_EOL;
/** @var NodeEvent $event */
foreach ($result->first(5)->toNodeArray() as $event) {
    echo $event->eventType() . PHP_EOL;
}
```

#### Output (depending on the actual events)

[](#output-depending-on-the-actual-events)

```
Total number of results: 123
Neos.EventSourcedContentRepository:RootNodeAggregateWithNodeWasCreated
Neos.EventSourcedContentRepository:NodeAggregateWithNodeWasCreated
Neos.EventSourcedContentRepository:NodeAggregateWithNodeWasCreated
Neos.EventSourcedContentRepository:NodeAggregateWithNodeWasCreated
Neos.EventSourcedContentRepository:NodePropertiesWereSet

```

### Paginate results in descending order

[](#paginate-results-in-descending-order)

```
$result = $this->eventLog->filter(EventLogFilter::create())->reversed();
$after = null;
do {
    $page = $result->first(3, $after);
    foreach ($page as $edge) {
        /** @var NodeEvent $event */
        $event = $edge->node();
        echo $event->id() . PHP_EOL;
    }
    echo '----' . PHP_EOL;
    $after = $page->pageInfo()->endCursor();
} while ($page->pageInfo()->hasNextPage());
```

#### Output (depending on the actual events)

[](#output-depending-on-the-actual-events-1)

```
8
7
6
----
5
4
3
----
2
1
----

```

### Custom event renderer

[](#custom-event-renderer)

```
$result = $this->eventLog->filter(EventLogFilter::create())
    ->withNodeConverter(fn(array $event) => $event['id']);
echo implode(',', $result->first(10)->toNodeArray());
```

#### Output

[](#output)

```
1,2,3,4,5,6,7,8,9,10

```

CLI
---

[](#cli)

This package comes with a `nodeeventlog:show` command that allows for filtering &amp; rendering the event log in the CLI:

```
./flow help nodeeventlog:show

Output activities with the specified filters applied

COMMAND:
  wwwision.nodeeventlog:nodeeventlog:show

USAGE:
  ./flow nodeeventlog:show []

OPTIONS:
  --node               id of the node to fetch activities for
                       (NodeAggregateIdentifier)
  --content-stream     id of the content stream to filter for
                       (ContentStreamIdentifier)
  --workspace          name of the workspace to filter for (WorkspaceName)
  --user               id of the initiating user to filter for (UserIdentifier)
  --dimension          JSON string representing the dimensions space point to
                       filter for (DimensionSpacePoint)
  --recursively        If set activities for all child nodes will be fetched as
                       well (recursively) – this is only evaluated if
                       "--node" is specified, too
  --skip-inherited-events If set only explicit events are considered. Otherwise
                       "inherited" events, e.g. for disabled/removed/moved
                       nodes are included in the result
  --reverse            If set the order of the event log is reversed to show
                       the events in the order they occured
  --first              How many events to display at once (default: 10)
  --after              Only fetch events after the specified cursor (only
                       applicable in conjunction with --first)
  --last               How many events to display at once (default: 10)
  --before             Only fetch events before the specified cursor (only
                       applicable in conjunction with --first)

```

Attribution
-----------

[](#attribution)

The development of this package has been kindly supported by "Swiss Army Knife Cloud Solutions B.V."

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.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 ~88 days

Recently: every ~154 days

Total

8

Last Release

1185d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/307571?v=4)[Bastian Waidelich](/maintainers/bwaidelich)[@bwaidelich](https://github.com/bwaidelich)

---

Top Contributors

[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (13 commits)")[![svparijs](https://avatars.githubusercontent.com/u/793720?v=4)](https://github.com/svparijs "svparijs (1 commits)")

### Embed Badge

![Health badge](/badges/wwwision-node-event-log/health.svg)

```
[![Health](https://phpackages.com/badges/wwwision-node-event-log/health.svg)](https://phpackages.com/packages/wwwision-node-event-log)
```

###  Alternatives

[scoutapp/scout-apm-php

Scout Application Performance Monitoring Agent - https://scoutapm.com

17877.0k5](/packages/scoutapp-scout-apm-php)[zlodes/prometheus-client

The Prometheus Metrics client for PHP

1842.6k2](/packages/zlodes-prometheus-client)

PHPackages © 2026

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