PHPackages                             mcfedr/youtubelivestreamsbundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mcfedr/youtubelivestreamsbundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

mcfedr/youtubelivestreamsbundle
===============================

A bundle for fetching a list of live streams

3.0.0(9y ago)0102MITPHPPHP &gt;=5.6

Since Mar 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mcfedr/youtubelivestreamsbundle)[ Packagist](https://packagist.org/packages/mcfedr/youtubelivestreamsbundle)[ RSS](/packages/mcfedr-youtubelivestreamsbundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (12)Used By (0)

YouTube Live Streams Bundle
===========================

[](#youtube-live-streams-bundle)

A bundle for sending tweets as push notifications

[![Latest Stable Version](https://camo.githubusercontent.com/5d0a51629914fe66cc7d487d63d2417a58d358730877b8b288561692ad6a75a4/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f796f75747562656c69766573747265616d7362756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/mcfedr/youtubelivestreamsbundle)[![License](https://camo.githubusercontent.com/f13db00d10bf4e93862a1253a0cb10e0b91106087cf218fb31a9b6cad042f121/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f796f75747562656c69766573747265616d7362756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/mcfedr/youtubelivestreamsbundle)[![Build Status](https://camo.githubusercontent.com/292c1eef0e849704f9094e97dbfa92eac79baab435aee40363da16a09db53b28/68747470733a2f2f7472617669732d63692e6f72672f6d63666564722f796f75747562656c69766573747265616d7362756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mcfedr/youtubelivestreamsbundle)[![SensioLabsInsight](https://camo.githubusercontent.com/f28e58f0a1c7b78edc940415f3848e477487c26598b16aeb9623ec71f03f2580/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32326237326363382d636434372d343738342d386536612d3736633763646462626530642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/22b72cc8-cd47-4784-8e6a-76c7cddbbe0d)

Install
-------

[](#install)

### Composer

[](#composer)

```
php composer.phar require mcfedr/youtubelivestreamsbundle

```

### AppKernel

[](#appkernel)

Include the bundle in your AppKernel You need to also load the AWSPushBundle

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Mcfedr\YouTube\LiveStreamsBundle\McfedrYouTubeLiveStreamsBundle(),

```

### Routing

[](#routing)

Setup the controllers in your routing.yml

```
mcfedr_you_tube_live_streams:
    resource: "@McfedrYouTubeLiveStreamsBundle/Controller/"
    type:     annotation
    prefix:   /

```

Config
------

[](#config)

This is sample configuration, to add to your config.yml

```
mcfedr_you_tube_live_streams:
    api_key: youtube api key
    channel_id: id of the channel
    cache_timeout: 3600 #cache for an hour

```

You might want to put something like this in your config\_dev.yml

```
mcfedr_you_tube_live_streams:
    cache_timeout: 0

```

Usage
-----

[](#usage)

You get get your list of streams

```
GET /streams
{
    "streams": [
        {
            "name": "Громадське ONLINE. 6 березня",
            "thumb": "https://i.ytimg.com/vi/Ou7hfc_LAeY/hqdefault.jpg",
            "videoId": "Ou7hfc_LAeY"
        },
        {
            "name": "Hromadske ONLINE RU",
            "thumb": "https://i.ytimg.com/vi/O5j1mifrhK4/hqdefault.jpg",
            "videoId": "O5j1mifrhK4"
        }
    ]
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~91 days

Recently: every ~221 days

Total

11

Last Release

3534d ago

Major Versions

1.0.6 → 2.0.02014-11-26

2.0.2 → 3.0.02016-09-07

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

3.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/7039999f29a83140d61116032ec1684c752412e458ad1999e15eea2f8808498c?d=identicon)[mcfedr](/maintainers/mcfedr)

---

Top Contributors

[![mcfedr](https://avatars.githubusercontent.com/u/704356?v=4)](https://github.com/mcfedr "mcfedr (41 commits)")

---

Tags

youtubelivestreams

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mcfedr-youtubelivestreamsbundle/health.svg)

```
[![Health](https://phpackages.com/badges/mcfedr-youtubelivestreamsbundle/health.svg)](https://phpackages.com/packages/mcfedr-youtubelivestreamsbundle)
```

###  Alternatives

[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.5k48.6M278](/packages/hashids-hashids)[norkunas/youtube-dl-php

youtube-dl / yt-dlp wrapper for php

512323.2k15](/packages/norkunas-youtube-dl-php)[aalaap/faker-youtube

Faker provider for generating fake YouTube video URLs

2288.6k](/packages/aalaap-faker-youtube)[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)
