Phil Young fdfc656aa8 Add Account Role Listings (#198) | 3 anni fa | |
---|---|---|
.github | 3 anni fa | |
src | 3 anni fa | |
tests | 3 anni fa | |
.gitignore | 5 anni fa | |
.php_cs | 7 anni fa | |
CONTRIBUTING.md | 7 anni fa | |
LICENSE | 7 anni fa | |
Makefile | 3 anni fa | |
README.md | 4 anni fa | |
composer.json | 4 anni fa | |
composer.lock | 4 anni fa | |
phpunit.xml | 7 anni fa |
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.