PHPackages                             domain-query-language/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. domain-query-language/event-log

ActiveProject[Logging &amp; Monitoring](/categories/logging)

domain-query-language/event-log
===============================

Aggregate based EventLog for event sourcing.

127PHP

Since Jul 18Pushed 9y ago3 watchersCompare

[ Source](https://github.com/domain-query-language/event-log)[ Packagist](https://packagist.org/packages/domain-query-language/event-log)[ RSS](/packages/domain-query-language-event-log/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

EventLog
========

[](#eventlog)

The EventLog project, extracted from DQLServer, along with its tests.

The following adapters are available.

- MySQL 5.7 (for microtime)
- SQLite

They also come in standard PDO or Laravel flavours.

### Usage:

[](#usage)

Using the EventLog is pretty easy, you just instantiate it with the right EventRepository adapter for your situation. if you're using a Dependency Injection system, then easiest way to do it is to map the interface 'EventRepository' to the adapter of your choice (stored in the Adapter folder). If you're using Laravel (which we are), you can just use the Laravel adapter, and the DI system will take care of everything else.

### Laravel Setup:

[](#laravel-setup)

Here's some sample code using a standard DI system and Laravels providers.

First setup the provider and point the event repo interface at the right adapter

```
$this->app->singleton(
    \EventSourced\EventLog\EventRepository::class,
    \EventSourced\EventLog\Adapter\Laravel\MySQL\EventRepository::class
);
```

The instantiate the EventLog

```
$event_log = $this->app->make(\EventSourced\EventLog\EventLog::class);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/325820?v=4)[Barry O Sullivan](/maintainers/barryosull)[@barryosull](https://github.com/barryosull)

---

Top Contributors

[![barryosull](https://avatars.githubusercontent.com/u/325820?v=4)](https://github.com/barryosull "barryosull (10 commits)")

### Embed Badge

![Health badge](/badges/domain-query-language-event-log/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.0k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M265](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M323](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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