neeckeloo/cloudflare
Composer 安装命令:
composer require neeckeloo/cloudflare
包简介
CloudFlare module for Zend Framework 2
关键字:
README 文档
README
CloudFlare module provide an object-oriented PHP wrapper for CloudFlare API.
Introduction
CloudFlare module intend to provide a way to interact easily with the CloudFlare API. CloudFlare distribute your content around the world so it’s closer to your visitors (speeding up your site). The service optimizes your assets and secures your website.
Requirements
- PHP 5.3 or higher
Installation
CloudFlare module only officially supports installation through Composer. For Composer documentation, please refer to getcomposer.org.
You can install the module from command line:
$ php composer.phar require neeckeloo/cloudflare:dev-master
Alternatively, you can also add manually the dependency in your composer.json file:
{
"require": {
"neeckeloo/cloudflare": "dev-master"
}
}
Enable the module by adding CloudFlare key to your application.config.php file. Customize the module by copy-pasting
the cloudflare.global.php.dist file to your config/autoload folder.
Configuration
You must specifiy your email account and CloudFlare api token to use the module.
return array( 'cloudflare' => array( /** * Define api url */ // 'api_url' => 'https://www.cloudflare.com/api_json.html', /** * Define email account */ // 'email' => '', /** * Define api token */ // 'token' => '', ), );
统计信息
- 总下载量: 303
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-02-26