sprintechnology / command-bus-bridge
用于在CommandBus中使用Symfony Command的包
1.0.0
2018-01-12 14:26 UTC
Requires
- simple-bus/message-bus: ^3.0
- symfony/config: ~3.4|~4.0
- symfony/console: ~3.4|~4.0
- symfony/dependency-injection: ~3.4|~4.0
- symfony/framework-bundle: ~3.4|~4.0
- symfony/yaml: ~3.4|~4.0
Requires (Dev)
- phpunit/phpunit: ~6.2.0
- symfony/phpunit-bridge: ~3.3.0
This package is not auto-updated.
Last update: 2024-10-02 10:33:22 UTC
README
使用Symfony Flex的应用程序
打开命令行,进入项目目录并执行
$ composer require sprintechnology/symfony-command-bus
不使用Symfony Flex的应用程序
步骤 1:下载包
打开命令行,进入项目目录,并执行以下命令以下载此包的最新稳定版本
$ composer require sprintechnology/symfony-command-bus
此命令要求您全局安装Composer,具体请参考Composer文档中的安装章节。
步骤 2:启用包
然后,通过将其添加到项目app/AppKernel.php
文件中注册的包列表中来启用该包。
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Sprint\Bundle\CloudMessagingBundle\CloudMessagingBundle(), ); // ... } // ... }