PHP Classes

PHP YouTube Video Downloader: Download files of given YouTube videos

Recommend this page to a friend!
  Info   View files Example   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 2,700 All time: 1,405 This week: 404Up
Version License PHP version Categories
youtube-downloader 1.12GNU General Publi...5.4PHP 5, Files and Folders, Web services, V...


This class can download files of given YouTube videos.

It takes a given YouTube video identifier and sends a request to YouTube to get the video details. The class works as a parser of YouTube video metadata.

The class can get the YouTube video source URL and generates a link to download the video data in a given format, usually MP4, or can download it directly to a file using the Curl extension or the wget program.


What is the best PHP youtube video downloader class?
Download videos from YouTube

What is the best PHP video convert to mp4 class?
Need a online video convertor like youtube , and play all videos

Picture of Nitesh Apte
  Performance   Level  
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 17 packages by
Country: India India
Age: 39
All time rank: 1337 in India India
Week rank: 247 Down20 in India India Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Hi, In order to make this class support more number of video formats, add the values in $supportedVideoFormat array. Command line: php example.php GvQJbF2CXLQ cYqw0YytUxw Browser: http://localhost/youtube-downloader/example.php?video=GvQJbF2CXLQ,cYqw0YytUxw Thanks
  Files folder image Files  
File Role Description
Plain text file class.ErrorHandler.php Class Handles and logs the error
Plain text file class.YouTubeBean.php Class Set configuration for download
Plain text file class.YouTubeException.php Class YouTube exception class.
Plain text file class.YouTubeVideoDownloader.php Class Download videos from YouTube using WGET or cURL
Accessible without login Plain text file errorhandler.php Conf. Instantiate Error Handler class
Accessible without login Plain text file example.php Example How to use the YouTubeVideoDownloader class
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file LICENSE.TXT Lic. License
Accessible without login Plain text file Doc. Documentation
Accessible without login Plain text file README.TXT Doc. INFO

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,405
This week:404Up
 User Ratings  
 All time