A PHP Class to get download links from Youtube based on the watch url
Latest commit eb6a72a Feb 2, 2014 @masnun Merge pull request #2 from wvanbreukelen/master
Allow the developer to create multiple links



The PHP Library to fetch Youtube video URIs from Watch URLs

What is PHPTube?

PHPTube is a PHP Library that allows you to fetch the actual Video URIs (of multiple available formats) directly from the Youtube Watch URL.

How to use it?

require_once 'PhpTube.php';
$tube = new PhpTube();
$videos = $tube->getDownloadLink('http://www.youtube.com/watch?v=Q-0p7ogC51k');