omouren/simplebus-debug-bundle

调试SimpleBus EventBus和CommandBus

安装量 46,324

依赖者: 0

建议者: 0

安全性: 0

星标: 1

关注者: 2

分支: 0

开放问题: 0

类型:symfony-bundle

1.4 2024-09-11 13:08 UTC

This package is auto-updated.

Last update: 2024-09-11 13:09:08 UTC


README

SimpleBusDebugBundle 允许您调试 SimpleBus EventBus和CommandBus

需求

simple-bus/symfony-bridge

安装

通过Composer

$ composer require omouren/simplebus-debug-bundle

在应用内核中注册该包

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

用法

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

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