cloudflare-php
cloudflare-php copied to clipboard
PHP library for the Cloudflare v4 API
The class Cloudflare\API\Configurations\FirewallRuleOptions used while creating or updating firewall rules is missing the new `managed_challenge` option.
As I was starting with a new route implementation I hit a few deprecations with installing composer. I have updated to newer version and changed the code accordingly
I am using this code to block IP. ```php $expression = "ip.addr eq $IP"; $config = new Cloudflare\API\Configurations\FirewallRuleOptions(); $config->setActionBlock(); $result = $firewall->createFirewallRule( $zoneID, $expression, $config, 'Testing ip blocking' ); ```...
Support for Images API would be nice :D
I keep getting a strange issue with this library and trying to create firewall rules. Some of the time, the code below works, but most of the time, I get...
in the api "fallback_pools" is actually "fallback_pool", so this minor change will fix this typo
When I perform `GET zones/:zone_identifier/dns_records/export` the result is empty. How can I export the DNS zone for a backup.
When using the https://api.cloudflare.com/#dns-records-for-a-zone-import-dns-records endpoint I am getting; Failed to parse form data. Make sure the Content-Type is multipart/form-data. It appear to be the force key fo json being applied...
When using the https://api.cloudflare.com/#dns-records-for-a-zone-import-dns-records endpoint I am getting; `Failed to parse form data. Make sure the Content-Type is multipart/form-data.` It appear to be the force key fo `json` being applied...
Adding missing method for editing a zone. - [editZone()](https://api.cloudflare.com/#zone-edit-zone)