smoothphp / laravel-papertrail-event-bus-logger
Log Smoothphp EventBus events in papertrail
v2.0.0
2016-12-13 16:17 UTC
Requires
- php: ~5.6|~7.0
- illuminate/support: ^5.3
- smoothphp/cqrs-es-framework: ~4.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-12-12 04:59:22 UTC
README
Install
Via Composer
$ composer require smoothphp/laravel-papertrail-event-bus-logger
Usage
Add the following to services.php config file
'papertrail' => [ 'host' => '*.papertrailapp.com', 'port' => 111111, 'name' => 'app name', ]
add \SmoothPhp\LaravelPapertrailEventBusLogger\PapertrailEventLogger::class,
to cqrses.php event_bus_listeners
e.g.
'event_bus_listeners' => [ \SmoothPhp\LaravelAdapter\EventBus\EventBusLogger::class, \SmoothPhp\LaravelAdapter\StrongConsistency\PushEventThroughQueueWithCommandId::class, \SmoothPhp\LaravelPapertrailEventBusLogger\PapertrailEventLogger::class, ],
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.