PHP Classes

phpTube: Upload and download video files from YouTube

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 7,618 All time: 242 This week: 524Down
Version License PHP version Categories
phptube 0.1.3GNU General Publi...4.0Web services, Video


Update: 0.1.3 now works with PHP4 as well!

Update: due to changes in the YouTube-forms, all versions of PHPTube prior 0.1.2 are rendered obsolete!

This class can be used to upload and download video files from YouTube.

It can login in YouTube on behalf of a given registered user and upload and download video files.

Downloading takes as parameters the identifier of the video to download and the name of the file to which the downloaded video will be stored.

Uploading takes as parameters the name of the video file to upload, the video title, description, tags, category, language, and whether the video should be made publicly accessible to all users, or only to family and friends of the uploader user.

Requirements: PEAR/HTTP

Innovation Award
PHP Programming Innovation award nominee
June 2007
Number 2

Prize: One book of choice by O'Reilly
YouTube is a very popular site. It lets users share their videos and lets other users embed shared videos in their sites.

Embedding YouTube videos is easy, even more with already existing PHP components that can generate the necessary HTML.

However, uploading and downloading video files from YouTube for other purposes, is a different challenge.

This class provides a solution to address that problem, making it easy to upload and download video files to Youtube from a PHP script.

Manuel Lemos
Picture of Michael Kamleitner
Name: Michael Kamleitner is available for providing paid consulting. Contact Michael Kamleitner .
Classes: 1 package by
Country: Austria Austria
Age: ???
All time rank: 3514 in Austria Austria
Week rank: 298 Up3 in Austria Austria Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example Example Code
Plain text file phptube.php Class PHP Cass

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:242
This week:524Down
User Ratings User Comments (2)
 All time
Great script.
9 years ago (richard)
It's worse.
15 years ago (Sven Heising)