PHPackages                             ooyala/v2-api - 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. [API Development](/categories/api)
4. /
5. ooyala/v2-api

AbandonedArchivedLibrary[API Development](/categories/api)

ooyala/v2-api
=============

Ooyala's V2 API PHP SDK

v2.0(9y ago)561.4k↑100%18[1 issues](https://github.com/ooyala/php-v2-sdk/issues)[3 PRs](https://github.com/ooyala/php-v2-sdk/pulls)1proprietaryPHP

Since Feb 24Pushed 9y ago78 watchersCompare

[ Source](https://github.com/ooyala/php-v2-sdk)[ Packagist](https://packagist.org/packages/ooyala/v2-api)[ RSS](/packages/ooyala-v2-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (1)

Ooyala's V2 API PHP SDK
=======================

[](#ooyalas-v2-api-php-sdk)

The PHP SDK is a client class for our V2 API.

2017-05-18 - TAG created "v2.0"

Requirements
------------

[](#requirements)

This SDK uses cURL. So, in order to get it running, you need to have the [libcurl](http://curl.haxx.se/) package installed.

If PHP is manually compiled, don't forget to add the --with-curl\[=DIR\] configuration option. Or in Linux environments to make sure a php5-curl or similar package is installed. In a Windows environment, libeay32.dll and ssleay32.dll must be present in the PATH environment variable.

Usage
-----

[](#usage)

The approach is very simple. It allows you to do GET, POST, PUT, PATCH and DELETE requests to our API by simply specifying the path to the API you want to hit and depending of the call, an Array with parameters and an Array containing the body of the request.

By specifying an associative array object to represent the JSON data you want to send, you can make calls very fast and easily. First you need to create an OoyalaApi object by passing your V2 API keys like this:

```
