PHP interface to the scanii.com content processing service
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Scanii
tests/Scanii
.editorconfig
.gitignore
LICENSE
Makefile
README.md
composer.json

README.md

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:

 // creating the client
 $client = new ScaniiClient($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($r->getFindings()[0]);
 

Please note that you will need a valid scanii.com account and API Credentials.

More advanced usage examples can be found here

General documentation on scanii can be found here

This library supports PHP 7 and above.