PHPackages                             pxgamer/youtube-dl-php - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. pxgamer/youtube-dl-php

ActiveProject[Parsing &amp; Serialization](/categories/parsing)

pxgamer/youtube-dl-php
======================

A quick and easy YouTube downloader/parser written in PHP.

v2.1.4(7y ago)523849[7 issues](https://github.com/owenvoke/youtube-dl-php/issues)MITPHPPHP ^5.6 || ^7.1

Since Sep 6Pushed 7y ago10 watchersCompare

[ Source](https://github.com/owenvoke/youtube-dl-php)[ Packagist](https://packagist.org/packages/pxgamer/youtube-dl-php)[ RSS](/packages/pxgamer-youtube-dl-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

youtube-dl-php
==============

[](#youtube-dl-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1fbb98aec611609165abb801dfa0ee6539cb8a0c54708ea309a39e1dc4654e2e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f796f75747562652d646c2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/youtube-dl-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/4a21bea20cdc7c608b8cbae8837177e1372d18f91732e3a6fcaeef418c7080f6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f796f75747562652d646c2d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/youtube-dl-php)[![Style CI](https://camo.githubusercontent.com/7f5115044d0d50f99271216d037c23596cb652592a34fe0d02aa9809fa3a369f/68747470733a2f2f7374796c6563692e696f2f7265706f732f36393337393134322f736869656c64)](https://styleci.io/repos/69379142)[![Code Coverage](https://camo.githubusercontent.com/df55715c9a8de5ab3f07a7a8a6fb58e492ffda674225eb13d7977f9fb9301632/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f796f75747562652d646c2d7068702e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/youtube-dl-php)[![Total Downloads](https://camo.githubusercontent.com/019eacbdeffc0da5b088dd0151df7ae5c4137b604db2125c16d4048454172649/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f796f75747562652d646c2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/youtube-dl-php)

A quick and easy YouTube downloader/parser written in PHP.

Install
-------

[](#install)

Via Composer

```
$ composer create-project pxgamer/youtube-dl-php
```

Usage
-----

[](#usage)

```
$video = new pxgamer\YDP\Downloader(VIDEO_ID_OR_URL);
```

IDDefaultTypeDescription`$vid_id`''StringThe ID or URL of the video, e.g. `-YGDyPAwQz0`#### Related

[](#related)

- [User Script for YouTube](https://greasyfork.org/en/scripts/23560)

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [pxgamer](https://github.com/pxgamer)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

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 ~69 days

Recently: every ~86 days

Total

6

Last Release

2918d ago

PHP version history (2 changes)v2.0.0PHP ^5.6 || ^7.0.0

v2.1.1PHP ^5.6 || ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (52 commits)")

---

Tags

downloadphpyoutube

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pxgamer-youtube-dl-php/health.svg)

```
[![Health](https://phpackages.com/badges/pxgamer-youtube-dl-php/health.svg)](https://phpackages.com/packages/pxgamer-youtube-dl-php)
```

###  Alternatives

[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9845.4k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46164.0k6](/packages/jstewmc-rtf)[gajus/paggern

Pattern interpreter for generating random strings.

3046.0k1](/packages/gajus-paggern)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.4k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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