PHPackages                             hamaelt/virus-scanner-laravel - 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. hamaelt/virus-scanner-laravel

ActiveLibrary[Security](/categories/security)

hamaelt/virus-scanner-laravel
=============================

00PHP

Since Jun 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hamaelt/virus-scanner-laravel)[ Packagist](https://packagist.org/packages/hamaelt/virus-scanner-laravel)[ RSS](/packages/hamaelt-virus-scanner-laravel/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Virus Scanner
=============

[](#virus-scanner)

A validation rule for validating MIME type of zip files for Laravel to validate that the zip file only contains the allowed file types.

Requirement
===========

[](#requirement)

- PHP 8+
- PHP Extension `socket`
- Laravel 8+

Installation
============

[](#installation)

```
composer require hamaelt/virus-scanner
```

Publish config files
====================

[](#publish-config-files)

```
php artisan vendor:publish --provider="Hamaelt\VirusScanner\Providers\ServiceProvider"
```

The service provider will automatically be registered. However , you can manually add the service provider to your app/config.php file

```
  'providers' => [
      //...
      "Hamaelt\VirusScanner\Providers\ServiceProvider::class"
  ];

```

Implementation

```
Dependency inject the class VirusScanner.php
$virusScanner->isVirus('filepath');

```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d67c11c9e253a3991a14d8036745bc75ffbf2e09815a7ace9010f02d1e366e33?d=identicon)[hamail](/maintainers/hamail)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hamaelt-virus-scanner-laravel/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M142](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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