【文件属性】:
文件名称:Laravel-Twitch:用于Laravel的Twitch Helix API PHP包装器
文件大小:64KB
文件格式:ZIP
更新时间:2021-03-30 00:17:42
api php oauth laravel twitch
拉拉维(Laravel Twitch)
适用于Laravel 5PHP Twitch Helix API包装器
:warning: 2020年5月1日变更
自2020年5月1日起,Twitch要求所有请求均包含有效的OAuth访问令牌。 这可以通过使用“ 请求OAuth令牌来实现。
如果您oauth_client_credentials.auto_generate处理,请确保通过oauth_client_credentials.auto_generate配置条目启用内置的访问令牌生成功能。
您将需要通过您的配置或可用的设置器来定义有效的客户端ID和客户端密钥! 有关更多详细信息,请参见。
目录
安装
composer require romanzipp/laravel-twitch
配置
将配置复制到项目:
php artisan vendor:publish --provider="roma
【文件预览】:
Laravel-Twitch-master
----generator()
--------generate-docs.php(4KB)
----.github()
--------workflows()
----src()
--------Twitch.php(9KB)
--------Enums()
--------Http()
--------Providers()
--------Events()
--------Result.php(7KB)
--------Facades()
--------Exceptions()
--------Objects()
--------Concerns()
----.php_cs.dist(148B)
----config()
--------twitch-api.php(1KB)
----README.stub.md(8KB)
----LICENSE.md(1KB)
----phpunit.xml(696B)
----README.md(12KB)
----tests()
--------Api()
--------ClientExceptionsTest.php(1KB)
--------ServiceSettersTest.php(3KB)
--------VerifyEventSubSignatureTest.php(4KB)
--------AccessTokenExpirationTest.php(976B)
--------ValidationTest.php(2KB)
--------ServiceConfigTest.php(1KB)
--------ResultTest.php(3KB)
--------EventSubControllerTest.php(3KB)
--------ServiceInstantiationTest.php(462B)
--------PaginationTest.php(5KB)
--------RedirectUriTest.php(614B)
--------ResultExceptionTest.php(2KB)
--------TestCases()
----.gitignore(427B)
----composer.json(1KB)