smoothphp/laravel-papertrail-event-bus-logger

Log Smoothphp EventBus events in papertrail
250
Install
composer require smoothphp/laravel-papertrail-event-bus-logger
Latest Version:v2.0.0
PHP:~5.6|~7.0
License:MIT
Last Updated:Dec 13, 2016
Links: GitHub  ·  Packagist
Maintainer: mrsimonbennett

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658