2017 © Pedro Peláez
 

library virustotalapi

VirusTotal Public API v2.0 PHP Wrapper

image

jayzeng/virustotalapi

VirusTotal Public API v2.0 PHP Wrapper

  • Sunday, January 29, 2017
  • by jayzeng
  • Repository
  • 7 Watchers
  • 54 Stars
  • 33,353 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 14 Forks
  • 0 Open issues
  • 14 Versions
  • 3 % Grown

The README.md

Virus Total Public API v2.0 PHP Wrapper

Total Downloads Latest Stable Version Scrutinizer Code Quality Build Status, (*1)

Project website: (http://jayzeng.github.io/virustotal_apiwrapper/), (*2)

This is a PHP SDK to interact with Virus Total Public API v2.0, please see https://www.virustotal.com/en/documentation/public-api for details, (*3)

I want to show you my appreciation!

If you find the project useful and would love show your appreciation, awesome!, (*4)

Support via Gittip, (*5)

Usage:

  • You will need composer (http://getcomposer.org/)
  • composer search virustotalapi or visit the package info on packagist (https://packagist.org/packages/jayzeng/virustotalapi)

Include the following in your composer.json:, (*6)

{
  "require": {
    "jayzeng/virustotalapi": "dev-master"
  }
}
composer update -v -o

Quick start:

scan('foo.txt');

var_dump($resp);
?>

Sample output:, (*7)

[jayzeng] ~/Projects/virustotal_apiwrapper/Example] (master)>  php file.php |more
array(8) {
  ["scan_id"]=>
  string(75) "1afc739de16163a80380326ce05e1e69edfc99b7a931329ab127b5099377f076-1370244536"
  ["sha1"]=>
  string(40) "da9ed61e1bfa981c545acad4136e8a05f0602e45"
  ["resource"]=>
  string(64) "1afc739de16163a80380326ce05e1e69edfc99b7a931329ab127b5099377f076"
  ["response_code"]=>
  int(1)
  ["sha256"]=>
  string(64) "1afc739de16163a80380326ce05e1e69edfc99b7a931329ab127b5099377f076"
  ["permalink"]=>
  string(117) "https://www.virustotal.com/file/1afc739de16163a80380326ce05e1e69edfc99b7a931329ab127b5099377f076/analysis/1370244536/"
  ["md5"]=>
  string(32) "b2f301b40a5fb752b19ae0e5c7f679b4"
  ["verbose_msg"]=>
  string(64) "Scan request successfully queued, come back later for the report"
}

Example:

Still feeling confusing? See Examples/ (https://github.com/jayzeng/virustotal_apiwrapper/tree/master/Examples), (*8)

I also hack up a demo application, source code is available at https://github.com/jayzeng/virustotal_demoapp, (*9)

How to run tests?

phpunit --configuration Tests/Conf/phpunit.xml Tests

Or, (*10)

Vendors/bin/phpunit --configuration Tests/Conf/phpunit.xml Tests

Issues & Development

  • Source code is hosted on GitHub
  • Report issues, questions, or request features on GitHub Issues

How to release new version?

  • RELEASE_VERSION - version number
  • RELEASE_MESSAGE - release message
make release RELEASE_VERSION="0.1" RELEASE_MESSAGE="v0.1 is released"

How to contribute?

Awesome! Please follow these steps: - Create an issue GitHub Issues to explain what you intended to do - Fork the repository into your GitHub account - Create a new branch (preferably with a descriptive name that ties to the issue number e.g: feature/issue1_add_urlendpoint) - Add/Refactor tests - Run tests locally (Please reference How to run tests) and make sure they all pass locally - Send in a pull request - Pass tests & travis build, (*11)

Author:

Jay Zeng, e-mail: jayzeng@jay-zeng.com, (*12)

The Versions

29/01 2017

dev-master

9999999-dev https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

29/01 2017

0.1.9

0.1.9.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

07/10 2016

0.1.7

0.1.7.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

07/10 2016

0.1.8

0.1.8.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

07/10 2016

dev-guzzle_fix

dev-guzzle_fix https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

16/09 2016

0.1.6

0.1.6.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

19/11 2015

dev-guzzle_version

dev-guzzle_version https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

19/11 2015

0.1.5

0.1.5.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

20/06 2015

dev-example_test

dev-example_test

  Sources   Download

The Requires

 

21/03 2014

0.1.4

0.1.4.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

20/03 2014

0.1.3

0.1.3.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires

api php security wrapper virus virustotal

19/03 2014

v0.1.2

0.1.2.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

api php security wrapper virus virustotal

26/02 2014

v0.1.1

0.1.1.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

api php security wrapper virus virustotal

06/06 2013

v0.1

0.1.0.0 https://github.com/jayzeng/virustotal_apiwrapper

VirusTotal Public API v2.0 PHP Wrapper

  Sources   Download

MIT

The Requires

 

api php security wrapper virus virustotal