PHPackages                             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. vimeo/laravel

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

vimeo/laravel
=============

A Vimeo bridge for Laravel

5.11.0(2mo ago)4191.7M↓42.4%86[24 issues](https://github.com/vimeo/laravel/issues)[3 PRs](https://github.com/vimeo/laravel/pulls)4Apache-2.0PHPPHP ^7.2|^8.0CI failing

Since Jan 21Pushed 1mo ago26 watchersCompare

[ Source](https://github.com/vimeo/laravel)[ Packagist](https://packagist.org/packages/vimeo/laravel)[ RSS](/packages/vimeo-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (24)Versions (39)Used By (4)

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

70

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity62

Solid adoption and visibility

Community38

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 72.2% 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 ~128 days

Recently: every ~379 days

Total

33

Last Release

79d 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 (9 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

5.6.1PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/df2e2c6937ae2d87e98851db60c99121737cc9150a107012d48a34aa9ffb9cc1?d=identicon)[wiseguy31](/maintainers/wiseguy31)

![](https://www.gravatar.com/avatar/f88673668388572e4891191805660886b3eb889dc3690722c92e5515910efa39?d=identicon)[kenyavs](/maintainers/kenyavs)

![](https://www.gravatar.com/avatar/d2bfaedebab40fdbf3ec4ff6d02e1c60a0a021c5737d24ae009b6458021566db?d=identicon)[nicov](/maintainers/nicov)

---

Top Contributors

[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (182 commits)")[![muglug](https://avatars.githubusercontent.com/u/2292638?v=4)](https://github.com/muglug "muglug (17 commits)")[![erunion](https://avatars.githubusercontent.com/u/33762?v=4)](https://github.com/erunion "erunion (14 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)")[![aaronm67](https://avatars.githubusercontent.com/u/727029?v=4)](https://github.com/aaronm67 "aaronm67 (3 commits)")[![benholmen](https://avatars.githubusercontent.com/u/1056188?v=4)](https://github.com/benholmen "benholmen (3 commits)")[![ruddell](https://avatars.githubusercontent.com/u/4294623?v=4)](https://github.com/ruddell "ruddell (3 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)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![riccardosarro](https://avatars.githubusercontent.com/u/98713934?v=4)](https://github.com/riccardosarro "riccardosarro (2 commits)")[![netr](https://avatars.githubusercontent.com/u/14618594?v=4)](https://github.com/netr "netr (2 commits)")[![urakozz](https://avatars.githubusercontent.com/u/5797393?v=4)](https://github.com/urakozz "urakozz (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)")[![pgtruesdell](https://avatars.githubusercontent.com/u/798421?v=4)](https://github.com/pgtruesdell "pgtruesdell (1 commits)")[![repat](https://avatars.githubusercontent.com/u/516807?v=4)](https://github.com/repat "repat (1 commits)")[![Omranic](https://avatars.githubusercontent.com/u/406705?v=4)](https://github.com/Omranic "Omranic (1 commits)")

---

Tags

composerlaravelphpvimeolaravelvideovimeo

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M305](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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