New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

johnrivera7/filament-antivirus

Filament Antivirus — ClamAV upload scanning, quarantine and file security dashboard for Laravel.
3,079 4

Larablocks Analysis

johnrivera7/filament-antivirus works with Laravel 11, 12 and 13 (latest release v1.0.1, Nov 23, 2026).

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 23, 2026)
  • 1,480 downloads a month (needs 10,000)
  • 4 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Nov 23, 2026.
  • 2 releases in the last 12 months.
  • First released: Aug 28, 2026.
  • Monthly downloads: 1,480.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require johnrivera7/filament-antivirus
Latest Version:v1.0.1
PHP:^8.2
Laravel:11 · 12 · 13
License:MIT
Last Updated:Nov 23, 2026
Links: GitHub  ·  Packagist
Maintainer: Johnrivera7

Antivirus

Filament Antivirus — ClamAV upload scanning, quarantine and file security dashboard for Laravel.

Stable ^1.0 (MIT). Sibling of filament-cybersecurity (read-only posture). This plugin acts on files: scan, block uploads, quarantine.

Features

  • Antivirus Dashboard — engine status, incidents, quarantine stats
  • ClamAV via clamdscan / clamscan (configurable)
  • Null driver for local dev without ClamAV
  • Upload validation — AntivirusFileRule for Filament / Laravel forms
  • Quarantine — move infected files to storage/app/quarantine/
  • Incident log — antivirus_incidents table
  • Artisan: antivirus:scan, antivirus:status
  • Facade: Antivirus::scanPath(), Antivirus::scanUpload()
  • ES / EN translations

Requirements

Stack Versions
PHP 8.2+
Laravel 11.28+ / 12+ / 13+
Filament 5.x
ClamAV optional (recommended in production)

Installation

composer require johnrivera7/filament-antivirus:^1.0
php artisan vendor:publish --tag="filament-antivirus-migrations"
php artisan migrate
php artisan vendor:publish --tag="filament-antivirus-config"

Register on your Filament panel:

use JohnRivera7\FilamentAntivirus\FilamentAntivirusPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentAntivirusPlugin::make()
                ->navigationGroup('Configuraciones')
                ->navigationLabel('Antivirus')
                ->navigationSort(7)
                ->permission(fn (): bool => auth()->user()?->hasAnyRole(['super_admin', 'admin']) ?? false),
        ]);
}

Configuration

ANTIVIRUS_DRIVER=clamav          # clamav | null
ANTIVIRUS_QUARANTINE=true
CLAMAV_BINARY=clamscan
CLAMAV_CLAMDSCAN_BINARY=clamdscan
ANTIVIRUS_PREFER_CLAMDSCAN=true

Upload validation

use JohnRivera7\FilamentAntivirus\Rules\AntivirusFileRule;

FileUpload::make('document')
    ->rules([new AntivirusFileRule()]);

CLI

php artisan antivirus:status
php artisan antivirus:scan
php artisan antivirus:scan /path/to/dir --purge

License

MIT © John Rivera

Alternatives to johnrivera7/filament-antivirus

sunspikes/clamav-validator

Custom Laravel anti-virus validator for file uploads using ClamAV.

2,611,983 377
mkwebdesign/filament-watchdog-v5

Advanced security monitoring and intrusion detection plugin for FilamentPHP v5

11,404 4
solution-forest/filament-firewall

Cache-first, Octane-safe, multi-panel & multi-tenant firewall for Laravel 12/13...

19,558 43
jeffersongoncalves/filament-scanner-guard

Filament UI for jeffersongoncalves/laravel-scanner-guard: list, filter and unban...

1,918 10

Version History

Version Released PHP Laravel License
v1.0.1 ^8.2 ^11.28|^12.0|^13.0 MIT
v1.0.0 ^8.2 ^11.28|^12.0|^13.0 MIT