PHPackages                             jayzeng/virustotalapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jayzeng/virustotalapi

ActiveLibrary[API Development](/categories/api)

jayzeng/virustotalapi
=====================

VirusTotal Public API v2.0 PHP Wrapper

0.1.9(9y ago)62140.7k↑11.4%16[2 issues](https://github.com/jayzeng/virustotal_apiwrapper/issues)3MITPHPPHP &gt;=5.5.0

Since Jun 6Pushed 9y ago4 watchersCompare

[ Source](https://github.com/jayzeng/virustotal_apiwrapper)[ Packagist](https://packagist.org/packages/jayzeng/virustotalapi)[ Docs](https://github.com/jayzeng/virustotal_apiwrapper)[ RSS](/packages/jayzeng-virustotalapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (14)Used By (3)

Virus Total Public API v2.0 PHP Wrapper
=======================================

[](#virus-total-public-api-v20-php-wrapper)

[![Total Downloads](https://camo.githubusercontent.com/c9004dd203e76143133bedf074eefb6cf33ad6ba7a09c81804fa573cd2ab5b0a/68747470733a2f2f706f7365722e707567782e6f72672f6a61797a656e672f7669727573746f74616c6170692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/jayzeng/virustotalapi)[![Latest Stable Version](https://camo.githubusercontent.com/50eb97a33b56627b1878140f90dd522c5ea82499f14ac50c35e9b715400d2276/68747470733a2f2f706f7365722e707567782e6f72672f6a61797a656e672f7669727573746f74616c6170692f762f737461626c652e706e67)](https://packagist.org/packages/jayzeng/virustotalapi)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cc3dc09f6f316c50769c35cdb86d3b2efae6339cabfb46d61386aceab6585559/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a61797a656e672f7669727573746f74616c5f617069777261707065722f6261646765732f7175616c6974792d73636f72652e706e673f733d34363234386439383337396464666562313533393538313134663731643565613830613437636639)](https://scrutinizer-ci.com/g/jayzeng/virustotal_apiwrapper/)[![Build Status](https://camo.githubusercontent.com/84c27fc4770560b8e8f6757b1aa868fc1b69397d547766d8cba2dacea5781760/68747470733a2f2f7472617669732d63692e6f72672f6a61797a656e672f7669727573746f74616c5f617069777261707065722e706e67)](https://travis-ci.org/jayzeng/virustotal_apiwrapper)

Project website: ([http://jayzeng.github.io/virustotal\_apiwrapper/](http://jayzeng.github.io/virustotal_apiwrapper/))

This is a PHP SDK to interact with Virus Total Public API v2.0, please see  for details

I want to show you my appreciation!
-----------------------------------

[](#i-want-to-show-you-my-appreciation)

If you find the project useful and would love show your appreciation, awesome!

[![Support via Gittip](https://camo.githubusercontent.com/e4c7dd611a46b2f9e453f0693eb0f03dc2aab723b1d42c4bea4a8d86ddadaa80/68747470733a2f2f7261776769746875622e636f6d2f74776f6c66736f6e2f6769747469702d62616467652f302e322e302f646973742f6769747469702e706e67)](https://www.gittip.com/jayzeng/)

\##Usage:

- You will need composer ()
- composer search virustotalapi or visit the package info on packagist ()

Include the following in your composer.json:

```
{
  "require": {
    "jayzeng/virustotalapi": "dev-master"
  }
}
```

```
composer update -v -o

```

Quick start:
------------

[](#quick-start)

```

```

Sample output:

```
[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](https://github.com/jayzeng/virustotal_apiwrapper/tree/master/Examples))

I also hack up a demo application, source code is available at [https://github.com/jayzeng/virustotal\_demoapp](https://github.com/jayzeng/virustotal_demoapp)

\##How to run tests?

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

Or

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

```

\##Issues &amp; Development

- Source code is hosted on [GitHub](https://github.com/jayzeng/virustotal_apiwrapper)
- Report issues, questions, or request features on [GitHub Issues](https://github.com/jayzeng/virustotal_apiwrapper/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](https://github.com/jayzeng/virustotal_apiwrapper/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](https://github.com/jayzeng/virustotal_apiwrapper/#how-to-run-tests)) and make sure they all pass locally
- Send in a pull request
- Pass tests &amp; travis build

\##Author: [Jay Zeng](https://github.com/jayzeng/), e-mail:

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Recently: every ~109 days

Total

10

Last Release

3397d ago

PHP version history (2 changes)v0.1PHP &gt;=5.3.0

0.1.6PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/08b89f14c74d6d6ba225fe3b29d360ba509116763d4d906991eb9f665cc02091?d=identicon)[jayzeng](/maintainers/jayzeng)

---

Top Contributors

[![jayzeng](https://avatars.githubusercontent.com/u/141891?v=4)](https://github.com/jayzeng "jayzeng (48 commits)")[![jarnovanleeuwen](https://avatars.githubusercontent.com/u/1358997?v=4)](https://github.com/jarnovanleeuwen "jarnovanleeuwen (1 commits)")[![mbarany](https://avatars.githubusercontent.com/u/1434605?v=4)](https://github.com/mbarany "mbarany (1 commits)")

---

Tags

phpapisecuritywrappervirusvirustotal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jayzeng-virustotalapi/health.svg)

```
[![Health](https://phpackages.com/badges/jayzeng-virustotalapi/health.svg)](https://phpackages.com/packages/jayzeng-virustotalapi)
```

###  Alternatives

[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
