PHPackages                             maxakawizard/php-virus-scanner - 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. [Security](/categories/security)
4. /
5. maxakawizard/php-virus-scanner

ActiveLibrary[Security](/categories/security)

maxakawizard/php-virus-scanner
==============================

PHP Virus Scanner

0.3.1(11y ago)130MITPHPPHP &gt;=5.4.0

Since Mar 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/MAXakaWIZARD/PhpVirusScanner)[ Packagist](https://packagist.org/packages/maxakawizard/php-virus-scanner)[ RSS](/packages/maxakawizard-php-virus-scanner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

PHP Virus Scanner
=================

[](#php-virus-scanner)

[![Build Status](https://camo.githubusercontent.com/1225d9c1d78c1354c1b7875d106c9958e497c68b62b9b42577a5adedd4f30dc1/68747470733a2f2f6170692e7472617669732d63692e6f72672f4d4158616b6157495a4152442f50687056697275735363616e6e65722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/MAXakaWIZARD/PhpVirusScanner)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b214dcf231712758c44b2064294d8657b91c8bc1e0528909aaf3dc3233b2c352/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d4158616b6157495a4152442f50687056697275735363616e6e65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MAXakaWIZARD/PhpVirusScanner/?branch=master)[![Code Climate](https://camo.githubusercontent.com/e7c8e85c6786a54ef5d773c93f4e82ef48c1a3e6bf087d5c42ebb67d874fb98b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4d4158616b6157495a4152442f50687056697275735363616e6e65722f6261646765732f6770612e737667)](https://codeclimate.com/github/MAXakaWIZARD/PhpVirusScanner)[![Coverage Status](https://camo.githubusercontent.com/64025fde01e5c3e0f5c3a729f0b542c4900fe47e342399ab41050c9a97f8bb7d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f4d4158616b6157495a4152442f50687056697275735363616e6e65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/MAXakaWIZARD/PhpVirusScanner?branch=master)[![GitHub tag](https://camo.githubusercontent.com/073ad23b9823f68d2595b7f74d82d70b6cc28419da9e973f39e0cd4265d1a3c7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f4d4158616b6157495a4152442f50687056697275735363616e6e65722e7376673f6c6162656c3d6c6174657374)](https://packagist.org/packages/maxakawizard/php-virus-scanner)[![Minimum PHP Version](https://camo.githubusercontent.com/b8feeff753e7c6ff51ffd26c612be3c4f292513e413cd0c8884e665ff51dd798/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e342d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/53fcae2023e138598dfb153b1e6b46d017ff5c2459ac63e54148e66774d82000/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6178616b6177697a6172642f7068702d76697275732d7363616e6e65722e737667)](https://packagist.org/packages/maxakawizard/php-virus-scanner)

[![SensioLabsInsight](https://camo.githubusercontent.com/7d8f7d2c4b2554609ba33c4c56ef46390e5278f27fa7e2aa30ac9233123dd25e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35633863393066322d373339372d346266642d393130372d6265643366383036343365622f6269672e706e67)](https://insight.sensiolabs.com/projects/5c8c90f2-7397-4bfd-9107-bed3f80643eb)

This is a console tool for scanning files for virus signatures.

The code is compliant with [PSR-4](http://www.php-fig.org/psr/4/), [PSR-1](http://www.php-fig.org/psr/1/), and [PSR-2](http://www.php-fig.org/psr/2/). If you notice compliance oversights, please send a patch via pull request.

Usage
-----

[](#usage)

For correct signature interpretation, use only single quotes in command line. If signature contains single code itself, escape it in such way: `'\''`

This will output `*.php` files containing code `eval($_POST['a'])`:

```
php phpvs scan /path/to/dir 'eval($_POST['\''a'\''])'
```

This will delete all `*.php` files containing code `eval(base64_decode($abc))`:

```
php phpvs scan /path/to/dir 'eval(base64_decode($abc))' --delete
```

License
-------

[](#license)

This library is released under [MIT](http://www.tldrlegal.com/license/mit-license) license.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~8 days

Total

4

Last Release

4048d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1138453?v=4)[Max Grigorian](/maintainers/MAXakaWIZARD)[@MAXakaWIZARD](https://github.com/MAXakaWIZARD)

---

Top Contributors

[![MAXakaWIZARD](https://avatars.githubusercontent.com/u/1138453?v=4)](https://github.com/MAXakaWIZARD "MAXakaWIZARD (35 commits)")

### Embed Badge

![Health badge](/badges/maxakawizard-php-virus-scanner/health.svg)

```
[![Health](https://phpackages.com/badges/maxakawizard-php-virus-scanner/health.svg)](https://phpackages.com/packages/maxakawizard-php-virus-scanner)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[spatie/ssl-certificate-chain-resolver

SSL certificate chain resolver

3069.6k](/packages/spatie-ssl-certificate-chain-resolver)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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