PHPackages                             vientodigital/vimeo-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. vientodigital/vimeo-laravel

ActiveLibrary[Image &amp; Media](/categories/media)

vientodigital/vimeo-laravel
===========================

A Vimeo bridge for Laravel

5.6.1(6y ago)047Apache-2.0PHPPHP ^7.2

Since Jan 21Pushed 6y agoCompare

[ Source](https://github.com/VientoDigital/vimeo-laravel)[ Packagist](https://packagist.org/packages/vientodigital/vimeo-laravel)[ RSS](/packages/vientodigital-vimeo-laravel/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (12)Versions (29)Used By (0)

> This is a fork of the official PHP library for the Vimeo Laravel modified to work with @composer.

Laravel Vimeo
=============

[](#laravel-vimeo)

[![vimeo](https://cloud.githubusercontent.com/assets/499192/11158771/b3f80b2c-8a5a-11e5-82e5-5db4be19b4ce.png)](https://cloud.githubusercontent.com/assets/499192/11158771/b3f80b2c-8a5a-11e5-82e5-5db4be19b4ce.png)

> A [Vimeo](https://vimeo.com) bridge for Laravel.

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

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

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

[![Build Status](https://camo.githubusercontent.com/bf3b2fcc268bb79d6cc301d09e6f5ac773b68d19182e8751676e6a7ea029d5df/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76696d656f2f6c61726176656c2f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/vimeo/laravel)[![StyleCI](https://camo.githubusercontent.com/13e3a067f20345c8dc52a3da1e47fef8980e24029efbd5536ddd38dbf52f23dc/68747470733a2f2f7374796c6563692e696f2f7265706f732f32353938363932362f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/25986926)[![Coverage Status](https://camo.githubusercontent.com/fcfc96e93b12706035c7e8ccdf1cf5c253a84df79771f31c133c08f8dc1f61d3/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f76696d656f2f6c61726176656c2e7376673f7374796c653d666c6174)](https://codecov.io/github/vimeo/laravel)[![Latest Version](https://camo.githubusercontent.com/8caa12e0585e6ff086e9955683af749a6e33a83893b7fcb1f8294dbb9eb3155d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f76696d656f2f6c61726176656c2e7376673f7374796c653d666c6174)](https://github.com/vimeo/laravel/releases)[![License](https://camo.githubusercontent.com/56ce0759d9533ebee6fdcf9838c11af95cd2e7a0d65a5680c4e2dc52f24cfe7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76696d656f2f6c61726176656c2e7376673f7374796c653d666c6174)](https://packagist.org/packages/vimeo/laravel)

Installation
------------

[](#installation)

Require this package, with [Composer](https://getcomposer.org), in the root directory of your project.

```
$ composer require vimeo/laravel
```

Add the service provider to `config/app.php` in the `providers` array, or if you're using Laravel 5.5, this can be done via the automatic package discovery.

```
Vimeo\Laravel\VimeoServiceProvider::class
```

If you want you can use the [facade](http://laravel.com/docs/facades). Add the reference in `config/app.php` to your aliases array.

```
'Vimeo' => Vimeo\Laravel\Facades\Vimeo::class
```

Configuration
-------------

[](#configuration)

Laravel Vimeo requires connection configuration. To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish --provider="Vimeo\Laravel\VimeoServiceProvider"
```

This will create a `config/vimeo.php` file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

You are free to change the configuration file as needed, but the default expected values are below:

```
VIMEO_CLIENT=
VIMEO_SECRET=
VIMEO_ACCESS=
```

and for setting up the alternate connection...

```
VIMEO_ALT_CLIENT=
VIMEO_ALT_SECRET=
VIMEO_ALT_ACCESS=
```

#### Default Connection Name

[](#default-connection-name)

This option `default` is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is `main`.

#### Vimeo Connections

[](#vimeo-connections)

This option `connections` is where each of the connections are setup for your application. Example configuration has been included, but you may add as many connections as you would like.

Usage
-----

[](#usage)

#### VimeoManager

[](#vimeomanager)

This is the class of most interest. It is bound to the ioc container as `vimeo` and can be accessed using the `Facades\Vimeo` facade. This class implements the ManagerInterface by extending AbstractManager. The interface and abstract class are both part of [Graham Campbell's](https://github.com/GrahamCampbell) [Laravel Manager](https://github.com/GrahamCampbell/Laravel-Manager) package, so you may want to go and checkout the docs for how to use the manager class over at that repository. Note that the connection class returned will always be an instance of `Vimeo\Vimeo`.

#### Facades\\Vimeo

[](#facadesvimeo)

This facade will dynamically pass static method calls to the `vimeo` object in the ioc container which by default is the `VimeoManager` class.

#### VimeoServiceProvider

[](#vimeoserviceprovider)

This class contains no public methods of interest. This class should be added to the providers array in `config/app.php`. This class will setup ioc bindings.

### Examples

[](#examples)

Here you can see an example of just how simple this package is to use. Out of the box, the default adapter is `main`. After you enter your authentication details in the config file, it will just work:

```
// You can alias this in config/app.php.
use Vimeo\Laravel\Facades\Vimeo;

Vimeo::request('/me/videos', ['per_page' => 10], 'GET');
// We're done here - how easy was that, it just works!

Vimeo::upload('/bar.mp4');
// This example is simple and there are far more methods available.
```

The Vimeo manager will behave like it is a `Vimeo\Vimeo`. If you want to call specific connections, you can do that with the connection method:

```
use Vimeo\Laravel\Facades\Vimeo;

// Writing this…
Vimeo::connection('main')->upload('/bar.mp4');

// …is identical to writing this
Vimeo::upload('/bar.mp4');

// and is also identical to writing this.
Vimeo::connection()->upload('/bar.mp4');

// This is because the main connection is configured to be the default.
Vimeo::getDefaultConnection(); // This will return main.

// We can change the default connection.
Vimeo::setDefaultConnection('alternative'); // The default is now alternative.
```

If you prefer to use dependency injection over facades like me, then you can inject the manager:

```
use Vimeo\Laravel\VimeoManager;

class Foo
{
    protected $vimeo;

    public function __construct(VimeoManager $vimeo)
    {
        $this->vimeo = $vimeo;
    }

    public function bar()
    {
        $this->vimeo->upload('/foo.mp4');
    }
}

App::make('Foo')->bar();
```

Documentation
-------------

[](#documentation)

There are other classes in this package that are not documented here. This is because the package is a Laravel wrapper of [the official Vimeo package](https://github.com/vimeo/vimeo.php).

License
-------

[](#license)

[Apache License 2.0](LICENSE) © [Vimeo](https://vimeo.com/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 77.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Recently: every ~61 days

Total

28

Last Release

2197d ago

Major Versions

0.1.0 → 1.0.02015-01-21

1.0.0 → 2.0.02015-02-05

2.1.0 → 3.0.02015-06-30

3.7.0 → 4.0.02018-02-08

4.0.0 → 5.0.02018-02-13

PHP version history (8 changes)1.1.0PHP &gt;=5.4.0

2.0.0PHP &gt;=5.4.7

2.1.0PHP &gt;=5.5.9

3.2.1PHP ^5.5.9 || ^7.0

3.4.0PHP ^5.6.4 || ^7.0

3.5.0PHP ^7.0

5.0.0PHP ^7.1.3

5.4.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/488202a656e6be4d5992b6c2d7bb91155587fa7144279b5c52f671b5d88eb24e?d=identicon)[victoryoalli](/maintainers/victoryoalli)

---

Top Contributors

[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (182 commits)")[![erunion](https://avatars.githubusercontent.com/u/33762?v=4)](https://github.com/erunion "erunion (14 commits)")[![muglug](https://avatars.githubusercontent.com/u/2292638?v=4)](https://github.com/muglug "muglug (13 commits)")[![SafwanAd-Dardak](https://avatars.githubusercontent.com/u/27897742?v=4)](https://github.com/SafwanAd-Dardak "SafwanAd-Dardak (5 commits)")[![WyattCast44](https://avatars.githubusercontent.com/u/17957937?v=4)](https://github.com/WyattCast44 "WyattCast44 (4 commits)")[![jnbn](https://avatars.githubusercontent.com/u/112425?v=4)](https://github.com/jnbn "jnbn (4 commits)")[![victoryoalli](https://avatars.githubusercontent.com/u/141497?v=4)](https://github.com/victoryoalli "victoryoalli (3 commits)")[![netr](https://avatars.githubusercontent.com/u/14618594?v=4)](https://github.com/netr "netr (2 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (2 commits)")[![Sventour](https://avatars.githubusercontent.com/u/5223394?v=4)](https://github.com/Sventour "Sventour (2 commits)")[![Omranic](https://avatars.githubusercontent.com/u/406705?v=4)](https://github.com/Omranic "Omranic (1 commits)")[![repat](https://avatars.githubusercontent.com/u/516807?v=4)](https://github.com/repat "repat (1 commits)")[![jasonmccreary](https://avatars.githubusercontent.com/u/161071?v=4)](https://github.com/jasonmccreary "jasonmccreary (1 commits)")[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (1 commits)")

---

Tags

laravelvideovimeo

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vientodigital-vimeo-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/vientodigital-vimeo-laravel/health.svg)](https://phpackages.com/packages/vientodigital-vimeo-laravel)
```

###  Alternatives

[vimeo/laravel

A Vimeo bridge for Laravel

4161.5M4](/packages/vimeo-laravel)[vinkla/hashids

A Hashids bridge for Laravel

2.1k13.3M73](/packages/vinkla-hashids)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[spatie/laravel-og-image

Generate OG images for your Laravel app

305.2k](/packages/spatie-laravel-og-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
