From d47432f5018e323efea8ed794dcfc18db8a770d5 Mon Sep 17 00:00:00 2001 From: Rafael Ferreira Date: Mon, 4 Sep 2017 17:50:21 -0700 Subject: [PATCH] update readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index deb6ec7..006afcc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ``` { "require": { - "uvasoftware/scanii-php": "~2.1" + "uvasoftware/scanii-php": "~$LATEST_RELEASE_VERSION" } } ``` @@ -23,7 +23,9 @@ $fd = fopen($temp, "w"); fwrite($fd, $this->EICAR); - $r = json_decode($this->client->process($temp)); + $result = $this->client->process($temp); + echo($r->getFindings()[0]); + ``` Please note that you will need a valid scanii.com account and API Credentials.