PHPackages                             mrprompt/silex-youtube - 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. mrprompt/silex-youtube

ActiveLibrary

mrprompt/silex-youtube
======================

YouTube Service Provider

02132PHP

Since Oct 21Pushed 9y agoCompare

[ Source](https://github.com/mrprompt/Silex-YouTube)[ Packagist](https://packagist.org/packages/mrprompt/silex-youtube)[ RSS](/packages/mrprompt-silex-youtube/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

YouTube Silex Service Provider
==============================

[](#youtube-silex-service-provider)

[![Build Status](https://camo.githubusercontent.com/c68b61af2abb2e5021fc5d05f051024aa6afa7ad2649b831049dfa74b6499c6b/68747470733a2f2f7472617669732d63692e6f72672f53696c6578467269656e64732f596f75547562652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SilexFriends/YouTube)[![Code Climate](https://camo.githubusercontent.com/f4f48eb4b5fe07d4efa5a1bc9b06f2fde3c7aa077aa04a468d67f8ead84b72d2/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f596f75547562652f6261646765732f6770612e737667)](https://codeclimate.com/github/SilexFriends/YouTube)[![Test Coverage](https://camo.githubusercontent.com/e68a23ec951300f7a02215999f93c143a955ae950b914c0901648ca04c70f979/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f596f75547562652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/SilexFriends/YouTube/coverage)[![Issue Count](https://camo.githubusercontent.com/38fdc19e4a7cfd9273a97ef1f7ef016b4ae47e22720ed04f0ada2d382a0532ce/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f596f75547562652f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/SilexFriends/YouTube)

Install
-------

[](#install)

```
composer require mrprompt/silex-youtube

```

Usage
-----

[](#usage)

```
use SilexFriends\YouTube\YouTube;

...

$api_key = getenv('YOUTUBE_API_KEY');

$app     = new Application;
$app->register(new YouTube($api_key));

...

/* @var $video array */
$video = $app['youtube']('http://...');

var_dump($video);

```

Tests
-----

[](#tests)

```
./vendor/bin/phpunit

```

License
-------

[](#license)

MIT

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d08744966e0d5783569605da853ef945dadac0be0f613f2eba6a052861d937a?d=identicon)[mrprompt](/maintainers/mrprompt)

---

Top Contributors

[![mrprompt](https://avatars.githubusercontent.com/u/166088?v=4)](https://github.com/mrprompt "mrprompt (7 commits)")

### Embed Badge

![Health badge](/badges/mrprompt-silex-youtube/health.svg)

```
[![Health](https://phpackages.com/badges/mrprompt-silex-youtube/health.svg)](https://phpackages.com/packages/mrprompt-silex-youtube)
```

PHPackages © 2026

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