All Projects → DevinNorgarb → devtube

DevinNorgarb / devtube

Licence: MIT license
Laravel YouTube and Online Video viewing and download interface.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to devtube

maintenance-mode
An enhanced maintenance mode for Laravel.
Stars: ✭ 117 (+290%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Eye
Eyewitness.io package for Laravel 5 applications
Stars: ✭ 114 (+280%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Laravel Settings
Simple Settings package for a laravel application
Stars: ✭ 45 (+50%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Laravel-Unsplash-Wrapper
A Laravel wrapper for Unsplash API's.
Stars: ✭ 21 (-30%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Pantheon
The fastest YouTube downloader.
Stars: ✭ 32 (+6.67%)
Mutual labels:  mp4, mp3, youtube-dl
Nova-Dark-Theme
A dark theme for Laravel Nova
Stars: ✭ 72 (+140%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Laravel Pdf
A Simple package for easily generating PDF documents from HTML. This package is specially for laravel but you can use this without laravel.
Stars: ✭ 79 (+163.33%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Laravel Email Verification
Laravel package to handle user verification using an activation mail
Stars: ✭ 63 (+110%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
Fast Youtube To Mp3 Converter Api
Very Fast YouTube to MP3 & MP4 Converter API
Stars: ✭ 69 (+130%)
Mutual labels:  mp3, youtube-dl, video-downloader
video-downloader
Video Downloader for Facebook.
Stars: ✭ 63 (+110%)
Mutual labels:  video-downloader, laravel-package, laravel-5-package
Auth Tests
Always-current tests for Laravel's authentication system. Curated by the community.
Stars: ✭ 230 (+666.67%)
Mutual labels:  laravel-package, laravel-5-package, laravel5
media-dupes
a minimal content duplicator for common media services like youtube
Stars: ✭ 53 (+76.67%)
Mutual labels:  mp3, youtube-dl, video-downloader
Axiom
An FFmpeg GUI for Windows
Stars: ✭ 560 (+1766.67%)
Mutual labels:  mp4, mp3, youtube-dl
vscode-mediaplayer
Mediaplayer extention for VS Code
Stars: ✭ 18 (-40%)
Mutual labels:  mp4, mp3, youtube-dl
mmdl
MMDL (Mega Music Downloader) - A tool to easily download music.
Stars: ✭ 29 (-3.33%)
Mutual labels:  mp3, youtube-dl
SSffmpegVideoOperation
This is a library of FFmpeg for android... 📸 🎞 🚑
Stars: ✭ 261 (+770%)
Mutual labels:  mp4, mp3-converter
sweetalert
Laravel 5 Package for SweetAlert2. Use this package to easily show sweetalert2 prompts in your laravel app.
Stars: ✭ 28 (-6.67%)
Mutual labels:  laravel-package, laravel-5-package
yt2audiobot
Telegram bot for converting YouTube videos to mp3
Stars: ✭ 26 (-13.33%)
Mutual labels:  mp3, youtube-dl
aplay-
a simple BitPerfect player
Stars: ✭ 23 (-23.33%)
Mutual labels:  mp4, mp3
correios-consulta
Buscar informações de serviços dos correios diretamente nos sites deles, sem utilizar api de terceiros.
Stars: ✭ 155 (+416.67%)
Mutual labels:  laravel-package, laravel-5-package

Install DevTube Video Downloader

alt text

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());

});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].