PHPackages                             chocofamilyme/laravel-eventsauce - 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. [Framework](/categories/framework)
4. /
5. chocofamilyme/laravel-eventsauce

ActiveLibrary[Framework](/categories/framework)

chocofamilyme/laravel-eventsauce
================================

Laravel Eventsauce integration

0.2.4(6y ago)0664MITPHPPHP ^7.2CI failing

Since Dec 11Pushed 6y ago3 watchersCompare

[ Source](https://github.com/chocofamilyme/laravel-eventsauce)[ Packagist](https://packagist.org/packages/chocofamilyme/laravel-eventsauce)[ Docs](https://github.com/chocofamily/laravel-eventsauce)[ RSS](/packages/chocofamilyme-laravel-eventsauce/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (10)Versions (14)Used By (0)

 LaravelEventSauce
===================

[](#-laraveleventsauce-)

 Laravel adapter for [EventSauce](https://eventsauce.io/). Before using this package you should already know how to work with EventSauce.

[![Latest Stable Version](https://camo.githubusercontent.com/878e03087c4641887faf6df86870b7a8853ae98a828d0a20b5d737b5dd71ed60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63686f636f66616d696c796d652f6c61726176656c2d6576656e7473617563652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chocofamilyme/laravel-eventsauce)[![](https://camo.githubusercontent.com/95c0e633e533f5bb7d4c399da30e78e05028a8d09fe57e6e698e064569d53e4c/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3232353334353337362f736869656c64)](https://github.styleci.io/repos/225345376)[![Total Downloads](https://camo.githubusercontent.com/a149513e4435bda1e5101861683fa4bec6829275a0c9a617c4a78d728feaf03d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63686f636f66616d696c796d652f6c61726176656c2d6576656e7473617563652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chocofamilyme/laravel-eventsauce)[![](https://camo.githubusercontent.com/a39e851bd5f69913bc39f8bb3e2d60a004017b2c5899fff191fba0e943df1eb2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63686f636f66616d696c796d652f6c61726176656c2d6576656e7473617563652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/chocofamilyme/laravel-eventsauce/?branch=master)[![](https://camo.githubusercontent.com/4b98b5ce8135476b2bca02c44d218b629adc9c9bc509c439faf6e9056871f923/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63686f636f66616d696c796d652f6c61726176656c2d6576656e7473617563652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572) ](https://scrutinizer-ci.com/g/chocofamilyme/laravel-eventsauce/?branch=master)[![License](https://camo.githubusercontent.com/352fc386d44f12376797d738ac03ea3d4382e9627031e816df7c9aaee44d3e38/68747470733a2f2f706f7365722e707567782e6f72672f63686f636f66616d696c796d652f6c61726176656c2d6576656e7473617563652f6c6963656e7365)](https://packagist.org/packages/chocofamilyme/laravel-eventsauce)

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

[](#requirements)

- PHP ^7.2
- Laravel ^5.8

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

[](#installation)

Via Composer

```
composer require chocofamilyme/laravel-eventsauce
```

Migrations
----------

[](#migrations)

You can publish and modify default migrations tables (`domain_messages`, `snapshots`) with the following command:

```
php artisan vendor:publish --tag="eventsauce-migrations"
php artisan migrate
```

Configuration
-------------

[](#configuration)

You can publish the config file with the following command:

```
php artisan vendor:publish --tag="eventsauce-config"
```

#### Code Generation

[](#code-generation)

Types, commands and events can be generated starting from a yaml file. Here you can specify the input and the output of the code generation. More info on code generation here:

#### Default Connection

[](#default-connection)

The default database connection can be modified by setting the `EVENTSAUCE_CONNECTION` env variable:

```
EVENTSAUCE_CONNECTION=mysql
```

#### Default Message Table

[](#default-message-table)

The default table name for your domain messages can be set with the `EVENTSAUCE_TABLE` env variable:

```
EVENTSAUCE_TABLE=domain_messages
```

#### Default Snapshot Table

[](#default-snapshot-table)

The default table name used to store snapshots can be set with the `EVENTSAUCE_SNAPSHOT_TABLE` env variable:

```
EVENTSAUCE_SNAPSHOT_TABLE=snapshots
```

#### Default Message Repository

[](#default-message-repository)

This class will be used to store messages. You may change this to any class that implements `EventSauce\EventSourcing\MessageRepository` , by default used `Chocofamily\LaravelEventSauce\MessageRepository::class`

#### Default Snapshot Repository

[](#default-snapshot-repository)

This class will be used to store snapshots. You may change this to any class that implements `EventSauce\EventSourcing\Snapshotting\SnapshotRepository` , by default used `Chocofamily\LaravelEventSauce\SnapshotRepository::class`

#### Default Consumer Handler

[](#default-consumer-handler)

This class will be used to put message on the handlers, by default used `Chocofamily\LaravelEventSauce\ConsumerHandler::class`

Usage
-----

[](#usage)

TODO

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Every ~13 days

Total

7

Last Release

2263d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42729426?v=4)[Chocofamily](/maintainers/chocofamilyme)[@chocofamilyme](https://github.com/chocofamilyme)

---

Top Contributors

[![AidynMakhataev](https://avatars.githubusercontent.com/u/19181566?v=4)](https://github.com/AidynMakhataev "AidynMakhataev (22 commits)")

---

Tags

chocofamilyevent-sourcingeventsaucelaravellaraveleventsourcelaravelevent sourcingEventSauceLaravelEventSaucechocofamily

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chocofamilyme-laravel-eventsauce/health.svg)

```
[![Health](https://phpackages.com/badges/chocofamilyme-laravel-eventsauce/health.svg)](https://phpackages.com/packages/chocofamilyme-laravel-eventsauce)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[stancl/tenancy

Automatic multi-tenancy for your Laravel application.

4.3k6.6M40](/packages/stancl-tenancy)[laravel/lumen-framework

The Laravel Lumen Framework.

1.5k26.2M709](/packages/laravel-lumen-framework)

PHPackages © 2026

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