Skip to content

avitacco/php-gravityzone-api

php-gravityzone-api

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