alejodaraio/cloudflare-purgefile
Composer 安装命令:
composer require alejodaraio/cloudflare-purgefile
包简介
Small library for purge files on Cloudflare using the API version 4
README 文档
README
Small library for purge files on Cloudflare using the API version 4
Install
Installation should be done via composer, details of how to install composer can be found at https://getcomposer.org/
composer require alejodaraio/cloudflare-purgefile
Usage
use CloudFlare; try { $cf = new CloudFlare('email@email.com', 'theKey', 'theZoneId'); $urls = array('http://mysite.com/example'); $tags = array(); $cf->purge_files($urls, $tags); } catch(CloudFlareException $e) { print $e->getMessage(); }
License
MIT
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-02