faustbrian/cloudflare-php-client
This package is abandoned and no longer maintained.
The author suggests using the plients/cloudflare package instead.
A CloudFlare Client for PHP
dev-master / 1.0.x-dev
2019-06-04 04:21 UTC
Requires
- php: ^7.1
- faustbrian/http: ^1.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^6.5
This package is auto-updated.
Last update: 2019-06-04 05:41:50 UTC
README
Installation
Require this package, with Composer, in the root directory of your project.
$ composer require plients/cloudflare
Usage
$client = new Plients\CloudFlare\Client(); $client->setConfig(['apiKey' => 'YOUR_API_KEY']); $response = $client->api('File')->scan('infected.rar'); dump($response);
Testing
$ phpunit
Security
If you discover a security vulnerability within this package, please send an e-mail to hello@basecode.sh. All security vulnerabilities will be promptly addressed.