omouren/simplebus-debug-bundle

Debug your SimpleBus EventBus and CommandBus

Installs: 43 358

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.3 2022-05-25 08:44 UTC

This package is auto-updated.

Last update: 2024-03-25 13:10:09 UTC


README

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>]