A CloudFlare Client for PHP
Require this package, with Composer, in the root directory of your project.
$ composer require plients/cloudflare
$client = new Plients\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.