Skip to content

nijilawrence/vimeo.php

This branch is up to date with vimeo/vimeo.php:master.

Folders and files

NameName
Last commit message
Last commit date
Feb 1, 2022
Feb 18, 2022
Nov 15, 2019
Mar 19, 2014
Mar 31, 2017
Mar 31, 2017
Apr 28, 2021
May 4, 2021
Apr 2, 2018
Jan 16, 2014
Mar 31, 2022
Dec 24, 2016
May 8, 2020
Apr 28, 2021
Nov 15, 2018
Nov 15, 2018

Repository files navigation

Interacting with the Vimeo API using PHP

This is a simple PHP library for interacting with the Vimeo API.

Before you start

Get started with the Vimeo API

If you’re new to Vimeo APIs, check out Getting Started: The Basics before diving into the content on this page.

Understand the PHP hierarchy

The API docs often use dot notation to represent a hierarchy of data, such as privacy.view. Since the PHP library sends all data using JSON, you must use nested associative arrays instead of dot notation.

// The documentation refers to the following as `privacy.view`
$params = ['privacy' => ['view' => 'disable']];

Install and access the PHP library

To install the PHP library, run the following command:

composer require vimeo/vimeo-api

After installation is complete, you can access the library by using $lib = new \Vimeo\Vimeo($client_id, $client_secret) in a Composer-enabled PHP script.

Advanced examples

To see examples of the most common use cases of the PHP library, visit our PHP Library Examples page.

Framework integrations

We have PHP framework integrations for WordPress and Laravel.

If you've integrated Vimeo into a popular PHP framework, let us know!

Support

To troubleshoot an issue, reach out to Vimeo Support.

About

Official PHP library for the Vimeo API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%