Download the PHP package crasmedia/cloudflare-4 without Composer
On this page you can find all versions of the php package crasmedia/cloudflare-4. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download crasmedia/cloudflare-4
More information about crasmedia/cloudflare-4
Files in crasmedia/cloudflare-4
Download crasmedia/cloudflare-4
More information about crasmedia/cloudflare-4
Files in crasmedia/cloudflare-4
Vendor crasmedia
Package cloudflare-4
Short Description PHP package for the next generation CloudFlare API
License MIT
Homepage https://crasmedia.com
Package cloudflare-4
Short Description PHP package for the next generation CloudFlare API
License MIT
Homepage https://crasmedia.com
Please rate this library. Is it a good library?
Informations about the package cloudflare-4
cloudflare-4
A PHP package for the next generation of CloudFlare API.
Usage Overview
Available Methods
You can pass arguments in, or simply pass an associative array as the first argument, where keys are the argument names and values are the corresponding values. Example:
This may be preferable for functions with very long argument lists.
ResponseInterface zoneCreate(mixed $name, bool $jump_start = null, array $organization = null)
ResponseInterface zoneList(mixed $name = null, string $status = null, integer $page = null, integer $per_page = null, string $order = null, string $direction = null, string $match = null)
ResponseInterface zoneGet(mixed $id)
ResponseInterface zonePause(mixed $id)
ResponseInterface zoneResume(mixed $id)
ResponseInterface zonePurge(mixed $id, bool $purge_everything)
ResponseInterface zonePurgeFiles(mixed $id, array $files = null)
ResponseInterface zoneDelete(mixed $id)
ResponseInterface plansList(mixed $zone_id)
ResponseInterface plansGet(mixed $zone_id, string $plan_id)
ResponseInterface plansSet(mixed $zone_id, string $plan_id)
ResponseInterface dnsCreate(mixed $zone_id, string $type = null, string $name = null, string $content = null, integer $ttl = null)
ResponseInterface dnsList(mixed $zone_id, string $name = null, string $content= null, string $vanity_name_server_record = null, integer $page = null, integer $per_page = null, string $order = null, string $direction = null, string $match = null)
ResponseInterface dnsGet(mixed $zone_id, string $dns_id)
ResponseInterface dnsUpdate(mixed $zone_id, string $dns_id, array $__data__)
ResponseInterface dnsDelete(mixed $zone_id, string $dns_id)
For further information about specific functions, see the CloudFlare documentation. All of these return instances of ResponseInterface, which implements the following methods:
array getData()
- Returns the array of the "results" from the CloudFlare response.mixed getErrors()
- Returns the array of "errors" from the CloudFlare response.bool didSucceed()
- Returns the "success" of the CloudFlare response, true or false.
All versions of cloudflare-4 with dependencies
PHP Build Version
Package Version
The package crasmedia/cloudflare-4 contains the following files
Loading the files please wait ....