mrgoodbytes8667 / command-bundle
比Symfony基本命令类略好一些的版本
v2.0.1
2024-05-01 15:28 UTC
Requires
- php: ^8.1
- symfony/console: ^6.1 | ^7.0
- symfony/framework-bundle: ^6.1 | ^7.0
- symfony/lock: ^6.1 | ^7.0
Requires (Dev)
- doctrine/orm: ^2.8 | ^3.0
- mrgoodbytes8667/pluralize-bundle: >=2.1.0
- rector/rector: ^0.15 | ^0.16 | ^0.17 | ^0.18
- symfony/test-pack: ^1.0.9
Suggests
- doctrine/orm: To use the BaseEntityManagerCommand class
- mrgoodbytes8667/pluralize-bundle: For pluralizing counting tables
Conflicts
- doctrine/annotations: <1.11.1
- doctrine/cache: <1.10.2
- doctrine/collections: <1.6.7
- doctrine/event-manager: <1.1.1
- doctrine/inflector: <1.4.3
- doctrine/lexer: <1.2.1
- doctrine/persistence: <2.1.0
- mrgoodbytes8667/pluralize-bundle: <2.1.0
- phpunit/phpunit: <9.5 || 9.5.8
- symfony/framework-bundle: <5.2.1
- symfony/phpunit-bridge: <5.2
This package is auto-updated.
Last update: 2024-09-15 15:57:07 UTC
README
安装
请确保全局已安装Composer,具体请参考Composer文档中的安装章节。
使用Symfony Flex的应用程序
打开命令行,进入您的项目目录并执行以下命令
$ composer require mrgoodbytes8667/command-bundle
不使用Symfony Flex的应用程序
步骤1:下载Bundle
打开命令行,进入您的项目目录并执行以下命令以下载此Bundle的最新稳定版本
$ composer require mrgoodbytes8667/command-bundle
步骤2:启用Bundle
然后,通过将其添加到项目中config/bundles.php
文件中已注册的Bundle列表中来启用Bundle
// config/bundles.php return [ // ... Bytes\CommandBundle\BytesCommandBundle::class => ['all' => true], ];
许可证
由MrGoodBytes开发的command-bundle受Creative Commons Attribution-NonCommercial 4.0 International License许可。
基于https://github.com/mrgoodbytes8667/command-bundle的工作。