PHP Client for Cloudflare API
Getting Started

Introduction

Welcome to PHP Client for Cloudflare API documentation.

A simple Object Oriented PHP Client for Cloudflare API. This package provides convenient access to the Cloudflare REST API using PHP.

Installation

Requires PHP 8.2 or higher. Install php-cloudflare-api via Composer:

composer
composer require sergkeim/php-cloudflare-api

The package is framework agnostic: Guzzle and the PSR HTTP interfaces are the only runtime dependencies, so it drops into any PHP project.

Using Laravel? The service provider and facade ship in the box and need no extra packages — see the Laravel page for setup.

Copyright © 2026