flexphp / helper-bundle
Symfony 的辅助包
dev-master
2021-07-29 00:38 UTC
Requires (Dev)
- doctrine/dbal: ^3.1
- flexphp/messages: ^0.0.2
- symfony/dependency-injection: 5.2
- symfony/http-kernel: 5.2
This package is auto-updated.
Last update: 2024-09-04 21:03:10 UTC
README
Symfony 的辅助包
当您需要时在框架之间进行切换。使用 FlexPHP 保持简单、SOLID 和 DRY。
安装
请确保已全局安装 Composer,如 Composer 文档的 安装章节 所述。
使用 Symfony Flex 的应用程序
打开命令行,进入您的项目目录并执行以下命令
composer require helper-bundle
未使用 Symfony Flex 的应用程序
步骤 1:下载 Bundle
打开命令行,进入您的项目目录并执行以下命令以下载此 Bundle 的最新稳定版本
composer require helper-bundle
步骤 2:启用 Bundle
然后,通过将其添加到项目 config/bundles.php
文件中注册的 Bundle 列表中来启用此 Bundle
// config/bundles.php return [ // ... FlexPHP\Bundle\FlexPHPHelperBundle::class => ['all' => true], ];
许可证
helper-bundle 是开源软件,采用 MIT 许可证。