Skip to content

uriel2707/laravel-vimeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-vimeo

Laravel Vimeo Integration (Alpha version)

Installation

Require this package in your composer.json and run composer update:

"urielon/laravel-vimeo": "dev-master"

After updating composer, add the Service Provider to the providers array in app/config/app.php

'Urielon\LaravelVimeo\LaravelVimeoServiceProvider',

You add config files.

$ php artisan config:publish urielon/laravel-vimeo

If you want to use the facade, add this to your facades in app/config/app.php

'Vimeo' => 'Urielon\LaravelVimeo\Facades\Vimeo',

Examples

Upload Video

$file = Input::file('video');

$uri = Vimeo::upload($file->getRealPath());

$video_data = Vimeo::request($uri);

Api Vimeo

$response = Vimeo::request($video->uri . '/pictures');

About

Laravel Vimeo Integration (Alpha version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages