symplify/console-package-builder
最新稳定版本:9.4.70
Composer 安装命令:
composer require symplify/console-package-builder
包简介
Package to speed up building command line applications
README 文档
README
Package to speed up building command line applications
Install
composer require symplify/console-package-builder --dev
Namesless Commands
Do you want to have convention in command naming? Read The Bullet Proof Symfony Command Naming
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel; use Symplify\ConsolePackageBuilder\DependencyInjection\CompilerPass\NamelessConsoleCommandCompilerPass; class SomeKernel extends Kernel implements CompilerPassInterface { public function process(ContainerBuilder $containerBuilder) { $containerBuilder->addCompilerPass(new NamelessConsoleCommandCompilerPass()); } }
Report Issues
In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker
Contribute
The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.
统计信息
- 总下载量: 4.19M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-25