PHPackages                             choccybiccy/twitch-tokens - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. choccybiccy/twitch-tokens

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

choccybiccy/twitch-tokens
=========================

A library to verify Twitch JWT tokens.

1.0.0(6y ago)03MITPHPPHP ^7.2CI failing

Since Aug 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/choccybiccy/twitch-tokens)[ Packagist](https://packagist.org/packages/choccybiccy/twitch-tokens)[ RSS](/packages/choccybiccy-twitch-tokens/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (13)Versions (2)Used By (0)

twitch-tokens [![Build Status](https://camo.githubusercontent.com/17df1a5ac279d7b8378fa31c11c3adf35f3d4bb6358902062c720b2ae65ce64b/68747470733a2f2f7472617669732d63692e6f72672f63686f63637962696363792f7477697463682d746f6b656e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/choccybiccy/twitch-tokens)
========================================================================================================================================================================================================================================================================================================================

[](#twitch-tokens-)

A library to verify Twitch JWT tokens.

Requirements
------------

[](#requirements)

- PHP 7.2+
- ext-json

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

[](#installation)

```
composer require choccybiccy/twitch-tokens

```

Usage
-----

[](#usage)

```
use Twitch\Auth\Token\Verifier;

$verifier = new Verifier;
if ($token = $verifier->verifyToken('token-string')) {
    $id = $token->get('sub');
    var_dump($token->toArray());
}

```

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

[](#contributing)

Make your changes, and ensure that appropriate tests have been created and that the test suite passes.

```
./vendor/bin/phpspec

```

Thanks
------

[](#thanks)

Special mention for help and guidance provided by:

-
-
-

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2549d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b36011a36520abc06a7bcec01478a3e4c66cdafd8c8e6ecec44bade9e25d11ef?d=identicon)[martinph](/maintainers/martinph)

---

Top Contributors

[![martinph](https://avatars.githubusercontent.com/u/178519?v=4)](https://github.com/martinph "martinph (1 commits)")

---

Tags

authenticationjwtjwt-tokentwitchtwitch-apitwitchtv

### Embed Badge

![Health badge](/badges/choccybiccy-twitch-tokens/health.svg)

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

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M776](/packages/sylius-sylius)[florianv/exchanger

PHP exchange rate provider layer for currency conversion: 30+ services, chain fallback, and caching.

1865.1M20](/packages/florianv-exchanger)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.8k](/packages/cakephp-cakephp)[razorpay/ifsc

Razorpay IFSC Codes Library

391206.7k](/packages/razorpay-ifsc)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

36826.2k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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