SmoothPhp / CQRS-ES-Framework-Laravel by mrsimonbennett

Laravel adapter for the SmoothPhp CQRS-ES-Framework
46,149
16
3
Package Data
Maintainer Username: mrsimonbennett
Maintainer Contact: simon@pixelatedcrow.com (Simon Bennett)
Package Create Date: 2015-10-13
Package Last Update: 2021-04-15
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:11:30
Package Statistics
Total Downloads: 46,149
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 16
Total Watchers: 3
Total Forks: 8
Total Open Issues: 0

cqrs-es-framework-laravel

Latest Version on Packagist Software License Quality Score Total Downloads

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

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

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

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

Support

https://i.imgur.com/iqFWqYD.png

SmoothPHP is a Pixelated Crow Product.

For commercial support please contact smoothphp@pixelatedcrow.com