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
Copyright © 2026