Hrushikesh Deshpande 20da7aa1ba Adding semgrep yaml file | hace 1 mes | |
---|---|---|
.github | hace 1 mes | |
src | hace 3 años | |
tests | hace 3 años | |
.gitignore | hace 5 años | |
.php_cs | hace 7 años | |
CONTRIBUTING.md | hace 7 años | |
LICENSE | hace 7 años | |
Makefile | hace 3 años | |
README.md | hace 4 años | |
composer.json | hace 4 años | |
composer.lock | hace 4 años | |
phpunit.xml | hace 7 años |
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.