zarlach / laravel-twitch-api
Laravel Twitch RESTful API
1.5.2
2019-03-02 15:14 UTC
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ~6.1
Requires (Dev)
- laravel/laravel: 5.*
- phpunit/phpunit: 5.*
README
为 Laravel 5 提供一个易于使用的 API
安装
composer require zarlach/laravel-twitch-api
在 config/app.php
的 providers
中添加此提供者
Zarlach\TwitchApi\Providers\TwitchApiServiceProvider::class,
在 aliases
中添加此外观
'TwitchApi' => Zarlach\TwitchApi\Facades\TwitchApiServiceFacade::class,
发布配置,然后配置你的 config/twitch-api.php
php artisan vendor:publish
Laravel 环境变量
建议将这些变量添加到你的 .env
文件中。
TWITCH_KEY= TWITCH_SECRET= TWITCH_REDIRECT_URI=
文档
你将在 docs
文件夹中找到文档 markdown 文件。
变更日志
变更列表可在 changelog.md
中找到。