uvasoftware / scanii-php
A pure PHP interface to Scanii, a web based virus scanning engine (https://scanii.com)
Installs: 52 322
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/uvasoftware/scanii-php
Requires
- php: ^8.1.2
- ext-json: *
- guzzlehttp/guzzle: ^7.10.0
Requires (Dev)
- phpunit/phpunit: ^10.5.63
- dev-main
- v5.2.0
- v5.1.4
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.2
- v5.0.1
- v4.0.2
- v4.0.1
- v3.x-dev
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.0
- v2.2.2
- v2.1
- dev-copilot/bump-dependencies-latest-versions
- dev-copilot/fix-121
- dev-dependabot/composer/guzzlehttp/guzzle-7.10.0
- dev-bernardo/121
- dev-rferreira-patch-1
- dev-Bernardo/2
- dev-Bernardo/1
This package is auto-updated.
Last update: 2026-02-13 11:28:29 UTC
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:
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
More general documentation on scanii can be found here
This library supports PHP 7.4 and above.