PHPackages                             smoothphp/cqrs-es-framework-laravel - 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. smoothphp/cqrs-es-framework-laravel

ActiveLibrary[Framework](/categories/framework)

smoothphp/cqrs-es-framework-laravel
===================================

Laravel adapter for the SmoothPhp CQRS-ES-Framework

v7.0.0(5y ago)1546.2k8MITPHPPHP &gt;=7.0.0|8.\*CI failing

Since Oct 25Pushed 5y ago2 watchersCompare

[ Source](https://github.com/SmoothPhp/CQRS-ES-Framework-Laravel)[ Packagist](https://packagist.org/packages/smoothphp/cqrs-es-framework-laravel)[ Docs](https://github.com/SmoothPhp/CQRS-ES-Framework-Laravel)[ RSS](/packages/smoothphp-cqrs-es-framework-laravel/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (3)Versions (52)Used By (0)

cqrs-es-framework-laravel
=========================

[](#cqrs-es-framework-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c3d7cba260c840c9a6e59ae13098289e05e43195a59b9206c2771ba50a8c9109/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736d6f6f74687068702f637172732d65732d6672616d65776f726b2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smoothphp/cqrs-es-framework-laravel)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/b2e3fe96afa9e35ffc9281e47314bf19224c6d9476d9d776d309155773c30a25/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736d6f6f74687068702f637172732d65732d6672616d65776f726b2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/smoothphp/cqrs-es-framework-laravel)[![Total Downloads](https://camo.githubusercontent.com/0a93adf91a88e8bdf63921cc4aac61fe0aa99ede0bceec1cf1e50f5b906f28c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736d6f6f74687068702f637172732d65732d6672616d65776f726b2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smoothphp/cqrs-es-framework-laravel)

This is the Laravel Adapter for SmoothPHP CQRS Event Sourcing package, It contains everything you need to get started event souring in Laravel.

Install
-------

[](#install)

Via Composer

```
$ composer require smoothphp/cqrs-es-framework-laravel
```

Add to `config/app.php`

```
SmoothPhp\LaravelAdapter\ServiceProvider::class,
```

Run Command

```
$ php artisan vendor:publish
```

Supervisor
----------

[](#supervisor)

If you wish to run the smooth queue separately from other queue jobs you can config it to run on a different queue. If left it will run on default queue with rest of laravel.

see `config/cqrses.php`

```
'queue_name' => 'default',
```

Change to smooth or other name. Then use the following supervisor config

```
[program:smoothphp-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/artisan queue:listen --queue=smooth --sleep=1
autostart=true
autorestart=true
user=www-data
numprocs=1
redirect_stderr=true
stderr_logfile=/var/log/supervisor.log
stdout_logfile=/var/log/supervisor.log
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Simon Bennett](https://github.com/mrsimonbennett)
- [Jordan Crocker](https://github.com/jrdnrc)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Support
-------

[](#support)

[![https://i.imgur.com/iqFWqYD.png](https://camo.githubusercontent.com/6620c7bd0d05d3b26da516ac54e8144535cc485cc112a8f6fa861147e692ebd0/68747470733a2f2f692e696d6775722e636f6d2f697146577159442e706e67)](https://camo.githubusercontent.com/6620c7bd0d05d3b26da516ac54e8144535cc485cc112a8f6fa861147e692ebd0/68747470733a2f2f692e696d6775722e636f6d2f697146577159442e706e67)

SmoothPHP is a [Pixelated Crow](https://pixelatedcrow.com) Product.

For commercial support please contact

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 90.6% 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 ~48 days

Recently: every ~290 days

Total

42

Last Release

1860d ago

Major Versions

v1.0.4 → v2.0.02016-07-13

v2.0.3 → v3.0.02016-12-13

v3.1.6 → v4.0.02017-09-05

v4.2.0 → v6.0.02018-07-17

v6.0.0 → v7.0.02021-04-15

PHP version history (3 changes)v0.0.0PHP &gt;=5.3.0

v3.1.0PHP &gt;=7.0.0

v7.0.0PHP &gt;=7.0.0|8.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/da1c1f6153f37ed1ab43c1169931fd35fa57d80d661425f1a57ca4a39cd6b70e?d=identicon)[mrsimonbennett](/maintainers/mrsimonbennett)

---

Top Contributors

[![mrsimonbennett](https://avatars.githubusercontent.com/u/1471305?v=4)](https://github.com/mrsimonbennett "mrsimonbennett (96 commits)")[![jrdnrc](https://avatars.githubusercontent.com/u/1749312?v=4)](https://github.com/jrdnrc "jrdnrc (7 commits)")[![deanlj](https://avatars.githubusercontent.com/u/4245429?v=4)](https://github.com/deanlj "deanlj (2 commits)")[![shanth2600](https://avatars.githubusercontent.com/u/8572247?v=4)](https://github.com/shanth2600 "shanth2600 (1 commits)")

---

Tags

cqrseventsourcelaravelphplaravelevent sourcingcqrs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/smoothphp-cqrs-es-framework-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/smoothphp-cqrs-es-framework-laravel/health.svg)](https://phpackages.com/packages/smoothphp-cqrs-es-framework-laravel)
```

###  Alternatives

[nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

12315.0k](/packages/nwidart-laravel-broadway)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)[ecotone/laravel

Laravel integration for Ecotone

21307.6k3](/packages/ecotone-laravel)

PHPackages © 2026

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