PHPackages                             nextras/youtube-api - 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. [API Development](/categories/api)
4. /
5. nextras/youtube-api

ActiveLibrary[API Development](/categories/api)

nextras/youtube-api
===================

Youtube API library for Nette Framework.

v3.2.0(2y ago)1612.8k↓100%5MITPHPPHP &gt;=7.1

Since Mar 16Pushed 5mo ago6 watchersCompare

[ Source](https://github.com/nextras/youtube-api)[ Packagist](https://packagist.org/packages/nextras/youtube-api)[ RSS](/packages/nextras-youtube-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (9)Used By (0)

Nextras YoutubeApi
==================

[](#nextras-youtubeapi)

[![Downloads this Month](https://camo.githubusercontent.com/26039bd2bc3ef1e4a07a381ff3a1405a766c494c528d6d69f19dc79d2ec6240f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6578747261732f796f75747562652d6170692e7376673f7374796c653d666c6174)](https://packagist.org/packages/nextras/youtube-api)[![Stable version](https://camo.githubusercontent.com/9280ef938a8699c09d3b3f87468d1432f7579c9d57ae0af626d366fdbd843d12/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6578747261732f796f75747562652d6170692e7376673f7374796c653d666c6174)](https://packagist.org/packages/nextras/youtube-api)

### Installation

[](#installation)

Use composer:

```
$ composer require nextras/youtube-api
```

### Usage

[](#usage)

```
$reader = new Nextras\YoutubeApi\Reader('')
$video = $reader->getVideoByUrl('');

echo $video->title;
echo $video->duration; // in sec
echo $video->description;
echo $video->url;
echo $video->embed;
foreach ($video->thumbs as $thumb) {
    echo $video->url;
}
```

### License

[](#license)

MIT. See full [license](license.md).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance50

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~568 days

Recently: every ~798 days

Total

8

Last Release

826d ago

Major Versions

v1.1.0 → v2.0.02015-05-07

v2.0.1 → v3.0.02016-09-28

PHP version history (3 changes)v1.0.0PHP &gt;=5.3.0

v3.0.0PHP &gt;=5.6

v3.1.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/953773db6e30161b5e76572bf909c24e8ef07d7419aeebc311e071600ea99bef?d=identicon)[hrach](/maintainers/hrach)

![](https://www.gravatar.com/avatar/6163a0eec16c2bfc9cce0c7c8801b5166cca9af81a146764676059a965044000?d=identicon)[JanTvrdik](/maintainers/JanTvrdik)

---

Top Contributors

[![hrach](https://avatars.githubusercontent.com/u/284263?v=4)](https://github.com/hrach "hrach (32 commits)")[![trejjam](https://avatars.githubusercontent.com/u/3594540?v=4)](https://github.com/trejjam "trejjam (3 commits)")[![migueldevpt](https://avatars.githubusercontent.com/u/27964123?v=4)](https://github.com/migueldevpt "migueldevpt (1 commits)")

---

Tags

apiyoutubeYoutube Api

### Embed Badge

![Health badge](/badges/nextras-youtube-api/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[socialapis/youtubedownloader

A small project for fetching youtube vidoes with their private api.

241.4k](/packages/socialapis-youtubedownloader)

PHPackages © 2026

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