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 2mo 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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2455d 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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[florianv/exchanger

Currency exchange rates framework for PHP

1874.7M15](/packages/florianv-exchanger)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26236.6k14](/packages/wordpress-php-ai-client)[razorpay/ifsc

Razorpay IFSC Codes Library

382201.9k](/packages/razorpay-ifsc)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

81733.7k](/packages/flow-php-flow)

PHPackages © 2026

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