PHPackages                             maras0830/laravel5-twitch-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. maras0830/laravel5-twitch-api

ActiveLibrary[API Development](/categories/api)

maras0830/laravel5-twitch-api
=============================

Laravel5 Twitch Api

v1.0.9(8y ago)13831MITPHP

Since Mar 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Maras0830/laravel5-twitch-api)[ Packagist](https://packagist.org/packages/maras0830/laravel5-twitch-api)[ RSS](/packages/maras0830-laravel5-twitch-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

laravel5-twitch-api
===================

[](#laravel5-twitch-api)

Laravel 5, Twitch Api v3.
See official documentation [Twitch restful api link](https://github.com/justintv/Twitch-API)

適用於 Laravel 5 的 v3 版 API (2016.05.06)
查看官方文件 [Twitch restful api link](https://github.com/justintv/Twitch-API/tree/master/v3_resources)

2016.05.06 - 新增 Twitch post 功能。

Installation 安裝
===============

[](#installation-安裝)

將 package 加入 `composer.json`
Require the package in composer.json :

```
"maras0830/laravel5-twitch-api": "dev-master"
```

在 ``config/app.php`加入 providers   In`config/app.php``` add ```providers```

```
Maras0830\TwitchApi\Providers\ApiServiceProvider::class
```

In `config/app.php` add `aliases`

```
'TwitchApi'             => Maras0830\TwitchApi\Facades\ApiServiceFacade::class,
```

發行設定
Publish the config

```
php artisan vendor:publish --force
```

創建一個 twitch 的名稱於`config/twitch-api.php` ，並且根據 twitch 上所開的應用程式進行設定
Create a twitch application ( in your twitch settings page, Connections tab ) Create a client secret Add both client secret, client id to the twitch-api.php config

Change the scopes that the application needs to better suit your needs

Usage 使用
========

[](#usage-使用)

[Blocks.md](https://github.com/Maras0830/laravel5-twitch-api/blob/master/doc/Blocks.md)
[Channel Feed.md](https://github.com/Maras0830/laravel5-twitch-api/blob/master/doc/Channel_Feed.md)

Waiting ... 待補..

Authentication 認證說明
-------------------

[](#authentication-認證說明)

Twitch api uses [OAuth 2.0 protocol](http://hueniverse.com/2010/05/introducing-oauth-2-0) for authentication.
Twitch api 使用 [OAuth 2.0 protocol](http://hueniverse.com/2010/05/introducing-oauth-2-0) 認證。

you need to sign up application with your domain on Twitch and you will get client\_id &amp; client\_secret and can set up redirect\_url.
您必須先在 Twitch 註冊一個專屬於這個域名的應用程式，接著將會得到 `client_id` and `client_secret` 並且建立 `redirect_url`。

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~18 days

Total

9

Last Release

3176d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ea1aaf015e5b965c29ba390d0883f84d740b2b8ad8ef5ee530b6c22a91ba440?d=identicon)[Maras0830](/maintainers/Maras0830)

---

Top Contributors

[![Maras0830](https://avatars.githubusercontent.com/u/7960232?v=4)](https://github.com/Maras0830 "Maras0830 (28 commits)")[![ericliao79](https://avatars.githubusercontent.com/u/13558443?v=4)](https://github.com/ericliao79 "ericliao79 (1 commits)")

### Embed Badge

![Health badge](/badges/maras0830-laravel5-twitch-api/health.svg)

```
[![Health](https://phpackages.com/badges/maras0830-laravel5-twitch-api/health.svg)](https://phpackages.com/packages/maras0830-laravel5-twitch-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
