Getting Started
A simple Object Oriented PHP Client for Cloudflare API. This package provides convenient access to the Cloudflare REST API using PHP.
Installation
Install php-cloudflare-api
via Composer:
composer
composer require sergkeim/php-cloudflare-api
The full Installation of this package can be found here.
Usage
The full Usage of this package can be found here.
php
<?php
use Cloudflare\Client;
$client = new Client('CLOUDFLARE_TOKEN');
$response = $client->accounts()->list();
$results = $response->json('results');
Table of Contents