PHPackages                             das-l/contao-youtube-dl-bundle - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. das-l/contao-youtube-dl-bundle

ActiveContao-bundle[File &amp; Storage](/categories/file-storage)

das-l/contao-youtube-dl-bundle
==============================

Contao extension: Download YouTube videos directly to the file system, using youtube-dl.

1.1.0(2y ago)07LGPL-3.0-or-laterPHPPHP ^7.4 || ^8.0

Since May 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/das-l/contao-youtube-dl-bundle)[ Packagist](https://packagist.org/packages/das-l/contao-youtube-dl-bundle)[ Docs](https://github.com/das-l/contao-youtube-dl-bundle)[ RSS](/packages/das-l-contao-youtube-dl-bundle/feed)WikiDiscussions main Synced 1mo ago

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

YouTube Download for Contao
===========================

[](#youtube-download-for-contao)

Download YouTube videos directly to the file system, using youtube-dl.

Requirements
------------

[](#requirements)

A `youtube-dl` or `yt-dlp` executable needs to be available. If the binary is located somewhere unusual, you can configure the location via the respective config parameter used by the `youtube-dl-bundle`:

```
das_l_youtube_dl:
    binPath: '/your/bin/directory/youtube-dl'

```

`ffmpeg` is also recommended so that `youtube-dl` can merge downloaded audio and video into one file, because YouTube usually provides audio and video separately for most high-quality formats. If an `ffmpeg` or `avconv` command is not available in your environment and an executable can also not be found in any common location, you can provide the location of the binary with the following config:

```
das_l_contao_youtube_dl:
    ffmpegPath: '/your/bin/directory/ffmpeg'

```

Configuration
-------------

[](#configuration)

You can customize the available maximum video height options:

```
das_l_contao_youtube_dl:
    videoMaxHeights:
        - '1080'
        - '720'
        - '480'

```

Usage
-----

[](#usage)

The extension adds a new icon button (a red play button with a downward-pointing green arrow) to every folder in the file system.

1. Click the button at the folder to which you want to download the video.
2. Provide the video ID.
3. Optionally choose a maximum video height to download.
4. Click "Import" and wait for the video to download.

That's all!

Permissions
-----------

[](#permissions)

The extension adds a file operation permission "Import YouTube videos" in the "Filemounts" area of the user and user group settings.

Please note
-----------

[](#please-note)

The downloader is limited to whatever the video creator uploaded and by what YouTube provides. The options you selected may possibly be discarded if no matching file could be found.

Also, this extension aims to have youtube-dl create an mp4 rather than an mkv container because mp4 has broader support. If this is causing you any problems, feel free to create an issue on GitHub so that we can find a solution that works well for everyone.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1092d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2570d9584ba63b530e9abebb45c4d753a55af8d32c9b41a4dce88ebbded09b55?d=identicon)[das-l](/maintainers/das-l)

---

Top Contributors

[![gmpf](https://avatars.githubusercontent.com/u/13484650?v=4)](https://github.com/gmpf "gmpf (2 commits)")

### Embed Badge

![Health badge](/badges/das-l-contao-youtube-dl-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/das-l-contao-youtube-dl-bundle/health.svg)](https://phpackages.com/packages/das-l-contao-youtube-dl-bundle)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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