A CloudFlare Client for PHP
Require this package, with Composer, in the root directory of your project.
$ composer require faustbrian/cloudflare-php-client
$client = new BrianFaust\CloudFlare\Client(); $client->setConfig(['apiKey' => 'YOUR_API_KEY']); $response = $client->api('File')->scan('infected.rar'); dump($response);
If you discover a security vulnerability within this package, please send an e-mail to firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.