PHPackages                             eihmels/twitch-helix-streams - 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. eihmels/twitch-helix-streams

ActiveLibrary

eihmels/twitch-helix-streams
============================

implements the Twitch Api "GET https://api.twitch.tv/helix/streams"

1.1.0(2y ago)0309MITPHPPHP ^8.1

Since Feb 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/eihmels/twitch-helix-streams)[ Packagist](https://packagist.org/packages/eihmels/twitch-helix-streams)[ RSS](/packages/eihmels-twitch-helix-streams/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (6)Used By (0)

[![PHPUnit](https://github.com/eihmels/twitch-helix-streams/actions/workflows/phpUnit.yml/badge.svg)](https://github.com/eihmels/twitch-helix-streams/actions/workflows/phpUnit.yml/badge.svg)[![codeSniffer](https://github.com/eihmels/twitch-helix-streams/actions/workflows/codesniffer.yml/badge.svg)](https://github.com/eihmels/twitch-helix-streams/actions/workflows/codesniffer.yml/badge.svg)[![phpstan](https://github.com/eihmels/twitch-helix-streams/actions/workflows/phpstan.yml/badge.svg)](https://github.com/eihmels/twitch-helix-streams/actions/workflows/phpstan.yml/badge.svg)

twitch-helix-streams
====================

[](#twitch-helix-streams)

implements the Twitch Api "GET "

you can find a complete Documentation of this Api [here](https://dev.twitch.tv/docs/api/reference/#get-streams)

requirements
============

[](#requirements)

- `>= PHP 8.1`

Get Started
===========

[](#get-started)

Composer Require
----------------

[](#composer-require)

```
composer require eihmels/twitch-helix-streams

```

please take a look into the examples folder. change your credentials and tryit.

you will get a StreamCollection from the GetStreams class, looks like this:

```
StreamCollection:
    Streams[] streams;
    Pagination pagination

```

Streams
-------

[](#streams)

a Representation of one single stream with all Information from The Api. looks like this:

```
        Stream:
            StreamIdentifier streamIdentifier,
            UserIdentifier userIdentifier,
            UserLogin userLogin,
            UserName userName,
            Type type,
            Title title,
            Tags tags,
            ViewerCount viewerCount,
            StartedAt startedAt,
            Language language,
            ThumbnailUrl thumbnailUrl,
            TagIdentifiers tagIdentifiers,
            IsMature isMature

```

please take a look in the [Twitch Streams Documentation](https://dev.twitch.tv/docs/api/reference/#get-streams) about this.

Client
------

[](#client)

you have to initialize a client that holds the endpoint and your ClientId and a ClientInterface.

```
$client = new TwitchHelix('https://api.twitch.tv', '/helix/streams', '', new Client());
```

Now you can initialize the Application that returns a list of streams like you see above:

```
 $application->execute(
        '',
        new QueryParameterCollection(
            [
                new UserIdentifier('123456')
            ],
            new First(2),
        )
    ));
```

Querys
------

[](#querys)

you can Query the Streams with the Queryparameters in a QueryParameterCollection:

Available QueryParameters:

- Language
- GameIdentifiers
- UserIdentifier
- UserLogin
- Type

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.1% 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 ~177 days

Total

2

Last Release

989d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84e2df205cebaf1fb6e32a27a452961aefff8ae6a1c52f7cce2912a22067888d?d=identicon)[eihmels](/maintainers/eihmels)

---

Top Contributors

[![eihmels-c24](https://avatars.githubusercontent.com/u/159025649?v=4)](https://github.com/eihmels-c24 "eihmels-c24 (17 commits)")[![eihmels](https://avatars.githubusercontent.com/u/39192593?v=4)](https://github.com/eihmels "eihmels (15 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/eihmels-twitch-helix-streams/health.svg)

```
[![Health](https://phpackages.com/badges/eihmels-twitch-helix-streams/health.svg)](https://phpackages.com/packages/eihmels-twitch-helix-streams)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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