Permalink
Find file
0b28469 Sep 7, 2011
28 lines (18 sloc) 600 Bytes

Zend_Service_CloudFlare

Description

An easy interface to the CloudFlare Hosting Provider API for Zend Framework.

Official document is here.

Compatibility

Tested under PHP 5.3.0 With PHPUnit 3.5.15.

Quick start

$apiKey     = "YOUR_API_KEY";
$cloudFlare = new Zend_Service_CloudFlare($apiKey);

$options = array(
    "cloudflare_email"    => "***********@sample.com",
    "cloudflare_pass"     => "*********",
    "cloudflare_username" => "sample",
);

$response = $cloudFlare->userCreate($options);