PHPackages                             soragui/ytd-library - 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. soragui/ytd-library

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

soragui/ytd-library
===================

PHP wrapper for youtube-dl

v0.2(2y ago)07[1 PRs](https://github.com/soragui/ytd-library/pulls)GPL-3.0-onlyPHP

Since Sep 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/soragui/ytd-library)[ Packagist](https://packagist.org/packages/soragui/ytd-library)[ Docs](http://soragui.com/)[ RSS](/packages/soragui-ytd-library/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (8)Versions (4)Used By (0)

Ytd library
===========

[](#ytd-library)

> Fork from [alltube](https://github.com/Rudloff/alltube-library) which is nolonger maintain.

This library lets you extract a video URL from a webpage by providing a wrapper for [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html).

You can install it with:

```
composer require soragui/ytd-library
```

You can then use it in your PHP code:

```
use Ytd\Library\Downloader;

require_once __DIR__.'/vendor/autoload.php';

$downloader = new Downloader('/usr/local/bin/youtube-dl');
$video = $downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
$video->getUrl();
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 88.6% 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 ~0 days

Total

2

Last Release

1025d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10136640?v=4)[soragui](/maintainers/soragui)[@soragui](https://github.com/soragui)

---

Top Contributors

[![Rudloff](https://avatars.githubusercontent.com/u/840125?v=4)](https://github.com/Rudloff "Rudloff (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

phpphp-libraryyoutube-dl

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/soragui-ytd-library/health.svg)

```
[![Health](https://phpackages.com/badges/soragui-ytd-library/health.svg)](https://phpackages.com/packages/soragui-ytd-library)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[sylius/sylius

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

8.5k5.9M737](/packages/sylius-sylius)

PHPackages © 2026

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