PHPackages                             reallyli/laravel-event-store - 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. reallyli/laravel-event-store

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

reallyli/laravel-event-store
============================

Laravel event store

1.0.0(6y ago)01.1kMITPHPPHP ^7.1

Since Nov 8Pushed 6y agoCompare

[ Source](https://github.com/reallyli/laravel-event-store)[ Packagist](https://packagist.org/packages/reallyli/laravel-event-store)[ RSS](/packages/reallyli-laravel-event-store/feed)WikiDiscussions master Synced 3w ago

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

LaravelEventStore
=================

[](#laraveleventstore)

1. Setup dependency
-------------------

[](#1-setup-dependency)

```
composer require tlikai/laravel-event-store
```

2. Setup database
-----------------

[](#2-setup-database)

```
php artisan migrate
```

3. Implementation `ShouldBeStored` interface
--------------------------------------------

[](#3-implementation-shouldbestored-interface)

```
use App\User;
use Uniqueway\LaravelEventStore\ShouldBeStored;

class UserCreated implements ShouldBeStored
{
    public $user;

    public function __construct(User $user)
    {
        $this->user = $user;
    }

    // return stored event data
    public function getData()
    {
        return [
            'user_id' => $this->user->id,
        ];
    }
}
```

4. Fire events
--------------

[](#4-fire-events)

```
$user = User::create(['name' => 'likai'])
event(new UserCreated($user));
```

Inspired by
-----------

[](#inspired-by)

- [rails\_event\_store](http://railseventstore.org)
- [ninjasimon/laravel-persistable-events](https://github.com/ninjasimon/laravel-persistable-events)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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

2429d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b5243dfc642d12f1e56f6c4c0e4e7200037029ab22c6122a92756810d15176b?d=identicon)[reallyli](/maintainers/reallyli)

---

Top Contributors

[![tlikai](https://avatars.githubusercontent.com/u/1356974?v=4)](https://github.com/tlikai "tlikai (4 commits)")[![geekjourneyx](https://avatars.githubusercontent.com/u/24422856?v=4)](https://github.com/geekjourneyx "geekjourneyx (3 commits)")

---

Tags

laravelevent store

### Embed Badge

![Health badge](/badges/reallyli-laravel-event-store/health.svg)

```
[![Health](https://phpackages.com/badges/reallyli-laravel-event-store/health.svg)](https://phpackages.com/packages/reallyli-laravel-event-store)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M300](/packages/laravel-horizon)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M129](/packages/roots-acorn)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)

PHPackages © 2026

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