Note: This library is under active development as I expand it to cover Cloudflare API. Consider the public API of this package a little unstable as I work towards a v1.0. See Coverage.

Account settings

Cloudflare API docs

Fetch

Fetches Worker account settings for an account.

php
$response = $client->workers()->settings()->get('account_id');

Create

Creates Worker Account Settings

php
$response = $client->workers()->settings()->create('account_id', 'usage_model', true);
Table of Contents