PHPackages                             kallencode/laravel-twitch - 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. kallencode/laravel-twitch

ActiveLibrary[API Development](/categories/api)

kallencode/laravel-twitch
=========================

A Laravel package to use the Twitch v5 API

0.0.1(9y ago)0175MITPHPPHP ^7.0

Since Apr 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kallencode/laravel-twitch)[ Packagist](https://packagist.org/packages/kallencode/laravel-twitch)[ Docs](https://github.com/kallencode/laravel-twitch)[ RSS](/packages/kallencode-laravel-twitch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Twitch
==============

[](#laravel-twitch)

A Laravel package to use the Twitch v5 API

[![Latest Version on Packagist](https://camo.githubusercontent.com/1311bca0dedffa4a236b16e88344836e28bdd61f87bbce0e430c625339a9b880/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b616c6c656e636f64652f6c61726176656c2d7477697463682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kallencode/laravel-twitch)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/50cd74cbbce672f25dc5fd6143e94cc2bee5a4d64c840023fa46608d3b2fadc5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b616c6c656e636f64652f6c61726176656c2d7477697463682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/kallencode/laravel-twitch)[![Quality Score](https://camo.githubusercontent.com/f5db8bfeb334a07173e1c02f02117856478e31bac6e05414151c488fca55cd59/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6b616c6c656e636f64652f6c61726176656c2d7477697463682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/kallencode/laravel-twitch)[![Total Downloads](https://camo.githubusercontent.com/6f310400a94e14ca54ee535f0b31eaf63617b2e9d9f1ee433eef6e2f97f45199/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b616c6c656e636f64652f6c61726176656c2d7477697463682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kallencode/laravel-twitch)

Simple package for interacting with the [Twitch v5 API](https://dev.twitch.tv/docs/)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require kallencode/laravel-twitch
```

Install the ServiceProvider.

```
// config/app.php
'providers' => [
    ...
    Kallencode\Twitch\TwitchServiceProvider::class,
    ...
];
```

This package also comes with a facade:

```
// config/app.php
'aliases' => [
    ...
    'Twitch' => Kallencode\Twitch\TwitchFacade::class,
    ...
];
```

You can publish the config file of this package with this command:

```
php artisan vendor:publish --provider="Kallencode\Twitch\TwitchServiceProvider"
```

The following config file will be published in `config/laravel-twitch.php`

```
return [

    'clientId' => env('TWITCH_CLIENT_ID'),

    'baseUrl' => env('TWITCH_BASE_URL','https://api.twitch.tv/kraken/')

];
```

Usage
-----

[](#usage)

```
$channel = Twitch::getChannelById(44322889);
```

Finding your Client ID
----------------------

[](#finding-your-client-id)

Go to

Scroll to the bottom of the page and register your application under Developer Applications.

Copy the Client ID and set the `TWITCH_CLIENT_ID` environment variable.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Roelof Kallenkoot](https://github.com/rkallenkoot)
- [All Contributors](../../contributors)

About Kallencode
----------------

[](#about-kallencode)

[Kallencode](https://kallencode.nl)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3318d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3198607?v=4)[Roelof Kallenkoot](/maintainers/Rkallenkoot)[@Rkallenkoot](https://github.com/Rkallenkoot)

---

Top Contributors

[![Rkallenkoot](https://avatars.githubusercontent.com/u/3198607?v=4)](https://github.com/Rkallenkoot "Rkallenkoot (3 commits)")

---

Tags

apilaraveltwitchkallencode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kallencode-laravel-twitch/health.svg)

```
[![Health](https://phpackages.com/badges/kallencode-laravel-twitch/health.svg)](https://phpackages.com/packages/kallencode-laravel-twitch)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)

PHPackages © 2026

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