Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uvasoftware/scanii-php
PHP interface to the scanii.com content processing service
https://github.com/uvasoftware/scanii-php
composer malware-analysis php scanii
Last synced: 16 days ago
JSON representation
PHP interface to the scanii.com content processing service
- Host: GitHub
- URL: https://github.com/uvasoftware/scanii-php
- Owner: uvasoftware
- License: apache-2.0
- Created: 2010-12-06T06:13:37.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T11:03:43.000Z (9 months ago)
- Last Synced: 2024-04-24T15:33:38.052Z (9 months ago)
- Topics: composer, malware-analysis, php, scanii
- Language: PHP
- Homepage: https://scanii.com
- Size: 148 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
### A pure PHP interface to the Scanii content processing service - https://scanii.com
### How to use this client
#### Installing using composer:
```
{
"require": {
"uvasoftware/scanii-php": "~$LATEST_RELEASE_VERSION"
}
}
```### Basic usage:
```php
use Scanii\ScaniiClient;
// creating the client
$client = ScaniiClient::create($this->key, $this->secret, $verbose = true);// scans a file
$temp = tempnam(sys_get_temp_dir(), "FOO");
$fd = fopen($temp, "w");
fwrite($fd, $this->EICAR);$result = $this->client->process($temp);
echo($result->getFindings()[0]);```
Please note that you will need a valid scanii.com account and API Credentials.
More advanced usage examples can be found [here](https://github.com/uvasoftware/scanii-php/blob/master/tests/Scanii/ScaniiClientTest.php)
More general documentation on scanii can be found [here](http://docs.scanii.com)
This library supports PHP 7.4 and above.