gvhuyssteen / laravel-vimeo by gvhuyssteen

Laravel 4.2 wrapper for the official Vimeo API. Original: https://github.com/vinkla/vimeo
95
0
0
Package Data
Maintainer Username: gvhuyssteen
Maintainer Contact: me@vinkla.com (Vincent Klaiber (Owner))
Package Create Date: 2015-06-30
Package Last Update: 2015-06-30
Language: PHP
License: MIT
Last Refreshed: 2019-11-09 15:04:44
Package Statistics
Total Downloads: 95
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

Laravel Vimeo

image

Laravel wrapper for the official Vimeo API. Read more about the API in the official Vimeo repository.

// Fetching data.
$vimeo->request('/users/dashron', ['per_page' => 2], 'GET');

// Upload videos.
$vimeo->upload('/home/aaron/foo.mp4', false);

// Wanna use a facade?
Vimeo::uploadImage('/videos/123/images', '/home/aaron/bar.png', true);

This package gives you an easy way to handle Vimeo configuration keys like client identifier and secret. The package includes a Facade and a contract which you can integrate within your project. Happy coding!

Build Status Latest Stable Version License

Installation

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

{
	"require": {
		"vinkla/vimeo": "~1.0"
	}
}

Add the service provider to config/app.php in the providers array.

'Vinkla\Vimeo\VimeoServiceProvider'

If you want you can use the facade. Add the reference in config/app.php to your aliases array.

'Vimeo' => 'Vinkla\Vimeo\Facades\Vimeo'

To add the configuration file to your app/config/packages directory, run the command below.

php artisan config:publish vinkla/vimeo

Documentation

This a wrapper for the official Vimeo API package. You can find the documentation in their repository. The documentation applies to this package as well.

License

The Laravel Vimeo package is open-sourced software licensed under the MIT license.