omouren/simplebus-debug-bundle

Debug your SimpleBus EventBus and CommandBus


Keywords
symfony, debug, event
License
MIT

Documentation

SimpleBusDebugBundle

The SimpleBusDebugBundle allows you to debug your SimpleBus EventBus and CommandBus.

Requirements

simple-bus/symfony-bridge

Installation

Via Composer

$ composer require omouren/simplebus-debug-bundle

Register the bundle in the application kernel :

<?php
// app/AppKernel.php
// ...
public function registerBundles()
{
    $bundles = [
        // ...
        new Omouren\SimpleBusDebugBundle\OmourenSimpleBusDebugBundle(),
        // ...
    ];
// ...

Usage

omouren:debug:simple-bus:event-bus [--format=(txt,md,json,xml)] [<eventName>]

omouren:debug:simple-bus:command-bus [--format=(txt,md,json,xml)] [<commandName>]