indiana-university/php-gravityzone-api

A library to interact with the BitDefender GravityZone REST API

1.0.4 2022-06-10 13:07 UTC

This package is auto-updated.

Last update: 2024-04-10 16:57:12 UTC


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