PHPackages                             xmeltrut/ooyala-php-v2-sdk - 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. xmeltrut/ooyala-php-v2-sdk

ActiveLibrary[API Development](/categories/api)

xmeltrut/ooyala-php-v2-sdk
==========================

Ooyala's V2 API PHP SDK

2.0.1(10y ago)04.4kproprietaryPHP

Since Feb 24Pushed 10y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (4)Used By (0)

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

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

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

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:

```
