Skip to content

mrprompt/Silex-YouTube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Silex Service Provider

Build Status Code Climate Test Coverage Issue Count

Install

composer require mrprompt/silex-youtube

Usage

use SilexFriends\YouTube\YouTube;

...

$api_key = getenv('YOUTUBE_API_KEY');

$app     = new Application;
$app->register(new YouTube($api_key));

...

/* @var $video array */
$video = $app['youtube']('http://...');

var_dump($video);

Tests

./vendor/bin/phpunit

License

MIT

About

Simple Silex YouTube Provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages