PHPackages                             advancedideasmechanics/antivirus-fiesta - 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. advancedideasmechanics/antivirus-fiesta

ActiveLibrary

advancedideasmechanics/antivirus-fiesta
=======================================

PHP ClamAV library for scanning files, locally or via sockets

1.0.6(1y ago)414.8k↓42.3%MITPHPPHP ^7.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

Since Oct 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AdvancedIdeasMechanics/antivirus-fiesta)[ Packagist](https://packagist.org/packages/advancedideasmechanics/antivirus-fiesta)[ Docs](https://advanced.im/antivirus)[ RSS](/packages/advancedideasmechanics-antivirus-fiesta/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (8)Used By (0)

Antivirus-fiesta
================

[](#antivirus-fiesta)

This a fork from my previous php-clamav library. This is the new home for it. PHP library to check files against ClamAV. You can pass a file via UNIX and TCP sockets. If ClamAV is installed locally you can also use clamscan/clamdscan.

Install
-------

[](#install)

You should have ClamAV installed locally or on a secured remote server.

### Composer

[](#composer)

`composer install advancedideasmechanics/antivirus-fiesta`

#### Stand-Alone

[](#stand-alone)

`require('./vendor/autoload.php');`

`$options['clamavScanMOde] = 'cli';`

If ClamAV is installed in another location.

`$options['clamavCliScanner] = '/usr/local/bin/clamscan;`

#### Zend Framework 3

[](#zend-framework-3)

Instructions coming soon.

#### Call package

[](#call-package)

`$clamav = new Advancedideasmechanics\Antivirus\ClamavService($options);`

`$response = $clamav->sendToScanner($file);`

To see the response from the server you can send to you internal logger or just dump from your test page.

`var_dump($response);`

### Information

[](#information)

In `$response['message']` will include the response from ClamAV.

The message if successful will be either "OK" or "VIRUSNAME FOUND"

Options that are available to update are:

`$options['clamavScanMode'] = 'local';` Can be 'cli', 'local', 'server'

`$options['clamavMaxFileSize'] = 25000000;` This should match your clamd.conf filesize limit.

`$options['clamavServerHost'] = '127.0.0.1';`

`$options['clamavServerPort'] = 3310;`

`$options['clamavServerTimeout'] = 30;`

`$options['clamavServerSocketMode'] = TRUE;`

`$options['clamavLocalSocket'] = '/var/run/clamav/clamd.ctl';`

`$options['clamavCliScanner] = '/usr/bin/clamscan';` Can be clamscan or clamdscan

`$options['clamavChunkSize] = 2048;` This is used for sockets and not used for the Command Line scanner.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 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 ~374 days

Recently: every ~561 days

Total

7

Last Release

515d ago

PHP version history (5 changes)1.0.0PHP ^7.0

1.0.3PHP ^7.0 || ^8.0

1.0.4PHP ^7.0 || ~8.0.0 || ~8.1.0

1.0.5PHP ^7.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

1.0.6PHP ^7.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/54c4511671b701eaea9e099598e2095781b145029009748f477d23564ab2197c?d=identicon)[advancedim](/maintainers/advancedim)

---

Top Contributors

[![matthewpallotta](https://avatars.githubusercontent.com/u/8971883?v=4)](https://github.com/matthewpallotta "matthewpallotta (6 commits)")

---

Tags

phplibraryclamavantivirusmatthewpallottaadvancedideasmechanicsantivirus-fiesta

### Embed Badge

![Health badge](/badges/advancedideasmechanics-antivirus-fiesta/health.svg)

```
[![Health](https://phpackages.com/badges/advancedideasmechanics-antivirus-fiesta/health.svg)](https://phpackages.com/packages/advancedideasmechanics-antivirus-fiesta)
```

###  Alternatives

[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)[bupy7/xml-constructor

The array-like constructor of XML document structure.

1337.9k](/packages/bupy7-xml-constructor)

PHPackages © 2026

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