PHP Client for Cloudflare API
Client Reference

SSL

SSL endpoint reference.

Verification

SSL Verification Details.

ParamTypeRequiredDefaultDescription
zoneIdstringYesZone Identifier.
paramsarrayNo[]Query Parameters.
php
$response = $client->ssl()->verification('ZONE_ID', []);
View this operation on the Cloudflare API Reference

Edit Verification

Edit SSL Certificate Pack Validation Method.

ParamTypeRequiredDefaultDescription
zoneIdstringYesZone Identifier.
certPackUuidstringYesCertificate Pack UUID.
validationMethodstringYesValidation Method selected for the order. Allowed values: `http`, `cname`, `txt`, `email`
php
$response = $client->ssl()->editVerification('ZONE_ID', 'CERT_PACK_UUID', 'VALIDATION_METHOD');
View this operation on the Cloudflare API Reference

Universal Settings

Universal SSL Settings Details.

ParamTypeRequiredDefaultDescription
zoneIdstringYesZone Identifier.
php
$response = $client->ssl()->universalSettings('ZONE_ID');
View this operation on the Cloudflare API Reference

Edit Universal Settings

Edit Universal SSL Settings.

ParamTypeRequiredDefaultDescription
zoneIdstringYesZone Identifier.
enabledboolYesWhether Universal SSL is enabled.
php
$response = $client->ssl()->editUniversalSettings('ZONE_ID', true);
View this operation on the Cloudflare API Reference

Analyze

Analyze a certificate.

Returns the hostnames the certificate covers, its signature algorithm and its expiration date. Sent without a certificate, Cloudflare analyzes the one already on the zone.

ParamTypeRequiredDefaultDescription
zoneIdstringYesZone Identifier.
valuesarrayNo[]Optionally `certificate`, the PEM certificate and any intermediates, and `bundle_method` (`ubiquitous`, `optimal` or `force`).
php
$response = $client->ssl()->analyze('ZONE_ID', []);
View this operation on the Cloudflare API Reference
Copyright © 2026