PHPackages                             burakerenel/devtube - 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. burakerenel/devtube

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

burakerenel/devtube
===================

A Laravel package for downloading videos from the net by simply passing a URL

2.0.6(6y ago)06MITPHP

Since May 5Pushed 5y agoCompare

[ Source](https://github.com/burakerenel/devtube)[ Packagist](https://packagist.org/packages/burakerenel/devtube)[ RSS](/packages/burakerenel-devtube/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (7)Versions (16)Used By (0)

Install DevTube Video Downloader
--------------------------------

[](#install-devtube-video-downloader)

[![alt text](https://camo.githubusercontent.com/9dc1908eefc2f6d12f7f4708460f31a3c4f19447fc456144010bcd9e995dad27/68747470733a2f2f646576747562652e646576737765626465762e636f6d2f696d672f53637265656e73686f7425323066726f6d253230323031382d30352d323625323031332d35342d31392e706e67 "devbeats banner")](https://camo.githubusercontent.com/9dc1908eefc2f6d12f7f4708460f31a3c4f19447fc456144010bcd9e995dad27/68747470733a2f2f646576747562652e646576737765626465762e636f6d2f696d672f53637265656e73686f7425323066726f6d253230323031382d30352d323625323031332d35342d31392e706e67)

Install FFMPEG only if you want to convert videos to mp3 etc

Ubuntu:

```
sudo apt install ffmpeg
```

Install `youtube-dl`

```
sudo apt install youtube-dl
```

Install via composer

```
composer require devswebdev/devtube
```

Publish vendor assets

```
php artisan vendor:publish --provider="DevsWebDev\DevTube\DevTubeServiceProvider"
```

This publishes a `devtube.php` file in your `config/` directory Please set your default options there.

Make sure your `youtube-dl` path is correct by comparing the output of `which youtube-dl` to the `bin_path` in `devtube.php`

```
"bin_path" => "/usr/bin/youtube-dl",
```

An Example

```
namespace App\Http\Controllers;
use DevsWebDev\DevTube\Download;

class YoutubeDownloadController extends Controller
{
    public function download()
    {
    $dl = new Download($url = "https://www.youtube.com/watch?v=ye5BuYf8q4o", $format = "mp4", $download_path = "music" );

    //Saves the file to specified directory
    $media_info = $dl->download();
    $media_info = $media_info->first();

    // Return as a download
    return response()->download($media_info['file']->getPathname());

    }
}
```

Or in your web.php routes file

```
use DevsWebDev\DevTube\Download;

Route::get('/', function () {
    $dl = new Download($url = "https://www.youtube.com/watch?v=ye5BuYf8q4o", $format = "mp3", $download_path = "music" );

    //Saves the file to specified directory
    $media_info = $dl->download();
    $media_info = $media_info->first();

    // Return as a download
    return response()->download($media_info['file']->getPathname());

});
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 96.3% 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 ~103 days

Recently: every ~71 days

Total

8

Last Release

2206d ago

Major Versions

1.0.5 → 2.0.12019-07-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16455610?v=4)[Burak Erenel](/maintainers/burakerenel)[@burakerenel](https://github.com/burakerenel)

---

Top Contributors

[![DevinNorgarb](https://avatars.githubusercontent.com/u/12491966?v=4)](https://github.com/DevinNorgarb "DevinNorgarb (129 commits)")[![burakerenel](https://avatars.githubusercontent.com/u/16455610?v=4)](https://github.com/burakerenel "burakerenel (5 commits)")

---

Tags

laravellaravel-packagedownloadermp3youtube-dlmp4youtube downloaderlaravel-youtube-downloadervideo downloaderdevtubedevswebdevmp3 downloadermedia downloaderlaravel downloader

### Embed Badge

![Health badge](/badges/burakerenel-devtube/health.svg)

```
[![Health](https://phpackages.com/badges/burakerenel-devtube/health.svg)](https://phpackages.com/packages/burakerenel-devtube)
```

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)

PHPackages © 2026

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