/Zend_Service_CloudFlare

Zend Framework client for CloudFlare Hosting Provider API

Primary LanguagePHP

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);