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 1mo 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 19% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity35

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

969d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1534f67b07f82294db4b0c30ef7117ac18b852d0768df03eeee4dbeca96b50ec?d=identicon)[soragui](/maintainers/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

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

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

728272.9k17](/packages/civicrm-civicrm-core)[drupal/core

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

19462.3M1.3k](/packages/drupal-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[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)
