mrgoodbytes8667/twitch-client-bundle

一个为Twitch添加HttpClient(和其他)机制的Symfony包

安装: 633

依赖项: 0

建议者: 0

安全: 0

星星: 0

关注者: 1

分支: 0

公开问题: 3

类型:symfony-bundle


README

Packagist Version PHP from Packagist Symfony Versions Supported Symfony Versions Tested Symfony LTS Version Symfony Stable Version Symfony Dev Version Twitch API Version
GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status codecov Packagist License
一个为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为中心的重试策略。

许可证

License
MrGoodBytes提供的twitch-client-bundle许可证受Creative Commons Attribution-NonCommercial 4.0 International License
基于https://github.com/mrgoodbytes8667/twitch-client-bundle的作品。