masnun/phptube

There is no license information available for the latest version (v1.0.0) of this package.

phptube allows scraping youtube and getting videos url for download

Installs: 137

Dependents: 0

Suggesters: 0

Security: 0

Stars: 36

Watchers: 8

Forks: 27

Open Issues: 1

pkg:composer/masnun/phptube

v1.0.0 2012-06-28 14:10 UTC

This package is not auto-updated.

Last update: 2025-09-27 16:50:02 UTC


README

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?

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

var_dump($videos);
?>