smoothphp / cqrs-es-framework-laravel
Laravel adapter for the SmoothPhp CQRS-ES-Framework
Installs: 46 150
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 3
Forks: 8
Open Issues: 0
Requires
- php: >=7.0.0|8.*
- laravel/framework: ^8.1
- smoothphp/cqrs-es-framework: ~7.0
Requires (Dev)
- phpunit/phpunit: ^9.3.3
- dev-develop
- v7.0.0
- v6.0.0
- dev-master / 4.x-dev
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- v0.0.0
- dev-feature/delete_stream
- dev-feature/event_store_speed_improvments
- dev-feature/auto-discovery
- dev-feature/rebuild-time
- dev-feature/CopyRightChange
- dev-feature/QueueEventDispatcher
- dev-feature/Laravel54Patch
- dev-fix/check-event-store-enabled
This package is auto-updated.
Last update: 2024-11-15 16:57:05 UTC
README
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
SmoothPHP is a Pixelated Crow Product.
For commercial support please contact smoothphp@pixelatedcrow.com