PHP Classes
elePHPant
Icontem

PHP Youtube to MP3 Converter: Download YouTube videos in MP3 audio format

Recommend this page to a friend!
  Info   View files Example   Demos   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-05-07 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 232 This week: 4All time: 7,670 This week: 186Up
Version License PHP version Categories
yt-to-mp3 1.0.0Public Domain5PHP 5, Audio, Video
Description Author

This class can download YouTube videos in MP3 audio format.

It can take the identifier of a YouTube video and sends a request to the youtube6download.top API to retrieve the converted version of the video to MP3 format.

The class returns an array with a URL for a page to download the MP3 file, a HTML for that link or Iframe to show the download link page.

The download page also shows advertising to support this service.

Recommendations

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

What is the best PHP youtube api class?
Get subscribers

Innovation Award
PHP Programming Innovation award nominee
May 2017
Nominee
Vote
Many people want to be able to listen to the audio of a YouTube video but they do not want to download the whole video.

This class provides means to convert and download a YouTube video audio on MP3 format using another site API.

Manuel Lemos
  Performance   Level  
Name: Kapil Sharma <contact>
Classes: 1 package by
Country: India India
Age: ???
All time rank: 3795264 in India India
Week rank: 192 Up18 in India India Up
Innovation award
Innovation award
Nominee: 1x

Details

yt-to-mp3

=============READ ME BEFORE USE============

Hello,

For any issue contact: api@youtube6download.top A Working demo of this api: http://demo@youtube6download.top/

This is PHP Object oriented programming based Yt to mp3 API Script. You can use it to fetch mp3 links of single/multiple youtube videos from your site.

It is a beta version of my script. Just download the zip file.

// To convert single video Open index.php file Look at the first line // YOUTUBE VIDEO ID $id = 'lF-jPBnZ098';

// For converting multiple videos as mp3 open multiple.php Look at the line start with: // MULTIPLE YOUTUBE VIDEO ID's SEPARATED BY COMMNA (,) $ids = 'lF-jPBnZ098,OmAlu5T44t8,GTJHrHHAElU';

All you need to do is to change the $id variable value with the desired video id that you want to download as mp3. That's it! If you have php installed on your server/localhost then you we'll get result on the webpage.

Screenshots  
  • single_video_to_mp3.png
  • multiple_video_to_mp3.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example This is the main file.
Plain text file api_class.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file many.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file readme.txt Doc. Read me

 Version Control Unique User Downloads Download Rankings  
 62%
Total:232
This week:4
All time:7,670
This week:186Up