mrgoodbytes8667 / twitch-client-bundle
一个为Twitch添加HttpClient(和其他)机制的Symfony包
v0.7.5
2023-05-09 16:06 UTC
Requires
- php: ^8.1
- ext-json: *
- doctrine/annotations: ^1.12
- doctrine/collections: ^1.6
- mrgoodbytes8667/twitch-response-bundle: ^0.7.2
- symfony/polyfill-uuid: ^1.20
Requires (Dev)
- doctrine/common: ^3.0
- fakerphp/faker: ^1.13
- mrgoodbytes8667/test-common: ^0.3 | ^0.4
- mrgoodbytes8667/test-twitch-faker: >=0.0.5
- rector/rector: ^0.15
- symfony/security-bundle: ^6.2
- symfony/test-pack: ^1.0.8
- symfony/var-dumper: ^6.2
Suggests
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/enum-serializer-bundle: <3.1.0
- mrgoodbytes8667/test-common-faker: <0.4.4
- phpunit/phpunit: <9.5
- symfony/framework-bundle: <5.3.0
- symfony/http-client: <5.3.0
- symfony/serializer: <5.3.0
This package is auto-updated.
Last update: 2024-09-09 19:21:59 UTC
README
一个为Twitch添加HttpClient(和其他)机制的Symfony包
安装
确保全局已安装Composer,如Composer文档中的安装章节所述。
使用Symfony Flex的应用程序
打开命令行控制台,进入您的项目目录并执行
$ composer require mrgoodbytes8667/twitch-client-bundle
不使用Symfony Flex的应用程序
步骤 1:下载Bundle
打开命令行控制台,进入您的项目目录,然后执行以下命令以下载此包的最新稳定版本
$ composer require mrgoodbytes8667/twitch-client-bundle
步骤 2:启用Bundle
然后,通过将其添加到项目config/bundles.php
文件中注册的Bundle列表中来启用此Bundle
// config/bundles.php return [ // ... Bytes\TwitchClientBundle\BytesTwitchClientBundle::class => ['all' => true], ];
设置
注意:不要向框架的http_client添加任何重试选项,因为它将覆盖Bundle的以Twitch为中心的重试策略。
许可证
MrGoodBytes提供的twitch-client-bundle许可证受Creative Commons Attribution-NonCommercial 4.0 International License。
基于https://github.com/mrgoodbytes8667/twitch-client-bundle的作品。