indiana-university / php-gravityzone-api
A library to interact with the BitDefender GravityZone REST API
1.0.4
2022-06-10 13:07 UTC
Requires
- php: ^8 | ^7.4
- ext-json: *
- datto/json-rpc: ^6.1
- guzzlehttp/guzzle: ^7.3
- ramsey/uuid: ^4.1
Requires (Dev)
- phpmd/phpmd: ^2.10
- phpstan/phpstan: ^0.12.85
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
README
This package aims to provide a PHP API for the BitDefender Gravityzone REST API. It supports all documented functions and is fully tested.
Structure
src/
tests/
vendor/
Install
Via Composer
$ composer require indiana-university/php-gravityzone-api
Usage
use IndianaUniversity\GravityZone\GravityZone; $gz = new GravityZone( 'gravityzone.example.net', 'your api key goes here' ); $quarantinedItems = json_decode($gz->getQuarantineItemsList('computers')); foreach ($quarantinedItems->result->items as $item) { print_r($item); }
Change log
Please see CHANGELOG for more information about what has changed recently
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
License
The BSD 3 Clause (BSD-3-Clause). Please see License File for more information