Phil Young fdfc656aa8 Add Account Role Listings (#198) | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.github | %!s(int64=3) %!d(string=hai) anos | |
src | %!s(int64=3) %!d(string=hai) anos | |
tests | %!s(int64=3) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
.php_cs | %!s(int64=7) %!d(string=hai) anos | |
CONTRIBUTING.md | %!s(int64=7) %!d(string=hai) anos | |
LICENSE | %!s(int64=7) %!d(string=hai) anos | |
Makefile | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
composer.json | %!s(int64=4) %!d(string=hai) anos | |
composer.lock | %!s(int64=4) %!d(string=hai) anos | |
phpunit.xml | %!s(int64=7) %!d(string=hai) anos |
The recommended way to install this package is via the Packagist Dependency Manager (cloudflare/sdk). You can get specific usage examples on the Cloudflare Knowledge Base under: Cloudflare PHP API Binding
The Cloudflare API can be found here. Each API call is provided via a similarly named function within various classes in the Cloudflare\API\Endpoints namespace:
Note that this repository is currently under development, additional classes and endpoints being actively added.
$key = new Cloudflare\API\Auth\APIKey('user@example.com', 'apiKey');
$adapter = new Cloudflare\API\Adapter\Guzzle($key);
$user = new Cloudflare\API\Endpoints\User($adapter);
echo $user->getUserID();
We welcome community contribution to this repository. CONTRIBUTING.md will help you start contributing.
Licensed under the 3-clause BSD license. See the LICENSE file for details.