SmoothPhp / LaravelPapertrailEventBusLogger by mrsimonbennett

Log Smoothphp EventBus events in papertrail
248
0
2
Package Data
Maintainer Username: mrsimonbennett
Maintainer Contact: simon@pixelatedcrow.com (Simon Bennett)
Package Create Date: 2016-11-29
Package Last Update: 2016-12-13
Language: PHP
License: MIT
Last Refreshed: 2024-05-04 15:10:15
Package Statistics
Total Downloads: 248
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

LaravelPapertrailEventBusLogger

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.