richard4339 / destinybundle
为 Symfony 定制的 Destiny API 包
v0.5
2019-11-28 22:20 UTC
Requires
- php: >=7.2
- ext-json: *
- symfony/config: ^4.4 || ^5.0
- symfony/dependency-injection: ^4.4 || ^5.0
- symfony/http-client: ^4.4 || ^5.0
- symfony/http-kernel: ^4.4 || ^5.0
- symfony/property-access: ^4.4 || ^5.0
- symfony/property-info: ^4.4 || ^5.0
- symfony/proxy-manager-bridge: ^4.4 || ^5.0
- symfony/serializer: ^4.4 || ^5.0
Requires (Dev)
- symfony/phpunit-bridge: ^4.4 || ^5.0
README
请确保已全局安装 Composer,具体说明请参阅 Composer 文档中的安装章节。
使用 Symfony Flex 的应用程序
打开命令行,进入您的项目目录并执行
$ composer require richard4339/destinybundle
不使用 Symfony Flex 的应用程序
步骤 1:下载 Bundle
打开命令行,进入您的项目目录并执行以下命令以下载此 Bundle 的最新稳定版本
$ composer require richard4339/destinybundle
步骤 2:启用 Bundle
然后,通过将其添加到项目 config/bundles.php
文件中注册的 Bundle 列表中来启用该 Bundle
// config/bundles.php return [ // ... Destiny\ClientBundle\ClientBundle::class => ['all' => true], ];