norman-huth / virus-total-php
A wrapper for the VirusTotal API V3.
Fund package maintenance!
Muetze42
Ko Fi
huth.it/coffee
Requires
- php: ^8.0
- ext-fileinfo: *
- ext-json: *
- guzzlehttp/guzzle: ^6.3|^7.0
This package is auto-updated.
Last update: 2024-10-01 00:07:32 UTC
README
This package is a wrapper for the VirusTotal.com API V3.
Installation
composer require norman-huth/virus-total-php
Instruction
This wrapper have a method for each API endpoint with title in camelCase
format.
The following alias methods have been defined to allow a more comfortable handling:
The endpoints are output in the following array:
return [ 'status' => 'int', # Response HTTP status code 'successful' => 'bool' # True if the response HTTP status code is between 200 & 299, 'data' => 'array|string' # The content from the API. If the response have a single `data` key, then the `data` content returns ];
Notice: If you disable http_errors
, an exception will be thrown on unsuccessful requests.