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 today

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

2376d 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[tehwave/laravel-achievements

Simple, elegant Achievements the Laravel way

7012.8k](/packages/tehwave-laravel-achievements)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)[glhd/special

1929.4k](/packages/glhd-special)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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