To install, simply:
$ composer require marxvn/gdrive
More examples are available under /examples.
require __DIR__ . '/vendor/autoload.php';
use \Marxvn\gdrive;
$gdrive = new gdrive;
$gdrive->getLink('LINK_GOOGLE_DRIVE');
$json_videojs_source = $gdrive->getSources();
$json_jwplayer_souce = $gdrive->getSources('jwplayer');
gdrive::sources
gdrive::setItag(array $itag)
gdrive::setVidcode(array $vidcode)
gdrive::setTitle($title)
gdrive::getLink($gurl)
gdrive::getSources($type = 'videojs')