Requirements

  • PHP 4+
  • cURL lib

Description

A PHP class for Viddler’s REST Interface. Wraps each method into their own methods and includes an open source XML Parser for parsing the response from the API into an easy-to-use PHP array.

Installation instructions

phpViddler is meant to be installed into most any PHP-powered web site or application. It requires at least PHP 4 but also has a PHP 5 “patch” that comes with it.

  1. Download the most recent version.
  2. Upload phpviddler.php and xmlparser.php to your server.
  3. Include phpviddler.php in your web site or application.
  4. Initiate Viddler class $v = new Phpviddler();
  5. Setup API Key variable $v->apikey=KEY_HERE

Examples!

We’ve added many examples to the download package to help you get started! Enjoy.

Extensions!

We’ve begun to build extensions to phpViddler to further its functionality beyond just a wrapper class for the API. Included with phpViddler is php5Viddler which makes phpViddler compatible with PHP 5, so it isn’t in this list.

Licensing

phpViddler is dual-licensed under the MIT and GPL licenses. The details of these licenses are included with the zip file.

Third-party software included

At present we include the XML Library as a means to parse the REST API’s responses, though it is configurable to turn off for applications that already have an XML Parser. See readme for details.

Open source!

phpViddler should be considered completely open source. Download, branch, fork, edit, update, contribute! Please follow the project URL at the top of the page.