Registry / http-client / cloudflare-sdk

cloudflare-sdk

JSON →
library1.4.0phppackagistunverified

PHP binding for v4 of the Cloudflare Client API.

composer require cloudflare/sdk
INSTALL
IMPORT
SIG · CLOUDFLARE-SDK
C
cloudflare-sdk
http-clientphpv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Cloudflare\Api\Client;

Creates a Cloudflare API client and lists zones.

use Cloudflare\Api\Client; $client = new Client('your-email@example.com', 'your-api-key'); $zones = $client->get('zones');
Debug
Known issues
breakingAPI key authentication is deprecated; use API tokens instead.
fix
Use an API token with the Client constructor: new Client('token')
affects: >=1.4.0
Upgrade
Version history
1.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
OpenAI (training)
1
Resources
cloudflare-sdk — pip install cloudflare-sdk · libregistry