norman-huth/virus-total-php
最新稳定版本:v1.0.2
Composer 安装命令:
composer require norman-huth/virus-total-php
包简介
A wrapper for the VirusTotal API V3.
README 文档
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:
| Method | Alias for |
|---|---|
scanIP() |
getAnIPAddressReport() |
scanDomain() |
getADomainReport() |
scanFile() |
Depending on the file size (determined automatically): uploadAFile() or getAURLForUploadingLargeFiles() |
analyseUrlOrFile() |
getAURLOrFileAnalysis() |
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.
Usages
统计信息
- 总下载量: 1.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-22