queryZones() - joshuapack/laravel-cloudflare GitHub Wiki
This method will get you direct access to the Cloudflare SDK
To make a call do this: $this-cloudflare->queryZones()
then the method you want to do.
List of Methods
addZone(string $name, bool $jumpStart = false, string $organizationID = ''): \stdClass
activationCheck(string $zoneID): bool
pause(string $zoneID): bool
unpause(string $zoneID): bool
getZoneById(string $zoneId): \stdClass
listZones(string $name = '', string $status = '', int $page = 1, int $perPage = 20, string $order = '', string $direction = '', string $match = 'all'): \stdClass
getZoneID(string $name = ''): string
- returns first zone's id from listZones($name)
changeDevelopmentMode(string $zoneID, bool $enable = false): bool
getCachingLevel(string $zoneID): string
setCachingLevel(string $zoneID, string $level = 'aggressive'): bool
cachePurgeEverything(string $zoneID): bool
cachePurge(string $zoneID, array $files = null, array $tags = null, array $hosts = null): bool
deleteZone(string $identifier): bool