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.

Analytics

Retrieves Workers KV metrics for the given account.

Cloudflare API docs

Request Analytics

Retrieves Workers KV request metrics for the given account.

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

Stored Data Analytics

Retrieves Workers KV stored data metrics for the given account.

php
$response = $client->workers()->storedDataAnalytics('account_id', 'title');