Phoo is a project mainly written in PHP, it's free.
Ooyala API PHP Client Library
Developed by Company52
Require and register the Phoo class autoloader:
require __DIR__ . '/lib/Phoo/Autoloader.php'; # Your path may vary - replace __DIR__ with correct path
$autoloader = new PhooAutoloader();
$autoloader->register();
Create a new instance of PhooBacklot to use in your code, and pass in your Ooyala partner code and secret code.
$backlot = new PhooBacklot($partnerCode, $secretCode);
To run the test quite, you need PHPUnit installed. Installation instructions can be found in the README file in the PHPUnit GitHub Repo
To run the tests (from the default project directory), use the command: phpunit tests/AllTests.php