PHPackages                             monaz/vt-laravel-rules - 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. monaz/vt-laravel-rules

ActiveLibrary[Security](/categories/security)

monaz/vt-laravel-rules
======================

Set of useful validation rules using VirusTotal API for Laravel

v0.1-beta(3y ago)5272MITPHPPHP ^7.4|^8.0

Since Apr 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mohsennazari/vt-laravel-rules)[ Packagist](https://packagist.org/packages/monaz/vt-laravel-rules)[ RSS](/packages/monaz-vt-laravel-rules/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Laravel VirusTotal Validation Rules
===================================

[](#laravel-virustotal-validation-rules)

This package provides a set of useful validation rule to get scan reports of files, urls, domains and ips.

This is based on my other library [PHP client library for VirusTotal Public API v3.0](https://github.com/mohsennazari/vt-php-api3).

Installation:
-------------

[](#installation)

- You will need composer ()
- composer search `vt-laravel-rules` or visit the package info on packagist ()

Install using composer by running:

```
composer require monaz/vt-laravel-rules

```

Or include the following in your composer.json:

```
{
  "require": {
    "monaz/vt-laravel-rules": "dev-master"
  }
}
```

Then run:

```
composer update

```

Then publish the package assets including the config and translation files:

```
php artisan vendor:publish --tag=vt-laravel

```

By publishing the assets you will see a `virus-total.php` in your default config dir. Make sure to acquire a suitable API key from [VirusTotal](https://www.virustotal.com/) and put it in the config page. Instead of always changing the config file, you can also set the `VIRUS_TOTAL_API_KEY` key in your `.env` file.

Usage:
------

[](#usage)

See the following basic usage example

```

```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the library! Just fork and when you are done make an PR. Just make sure you run the tests before submitting your request.

You can run the phpunit tests using this command:

```
"vendor/bin/phpunit" --coverage-text --configuration phpunit.xml.dist tests

```

License
-------

[](#license)

The library is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7932a179f8c52901a04d1893bf4df3b8c4c6ce1b581852cce1ee5c12b71a7ba5?d=identicon)[monaz](/maintainers/monaz)

---

Top Contributors

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

---

Tags

laravelsecuritylaravel-validation-rulesvirusvirustotal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/monaz-vt-laravel-rules/health.svg)

```
[![Health](https://phpackages.com/badges/monaz-vt-laravel-rules/health.svg)](https://phpackages.com/packages/monaz-vt-laravel-rules)
```

###  Alternatives

[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

1.0k453.9k2](/packages/akaunting-laravel-firewall)[enlightn/laravel-security-checker

A Laravel package to scan your dependencies for known security vulnerabilities.

51171.8k](/packages/enlightn-laravel-security-checker)[mojoblanco/domainos

A laravel package for blacklisting or whitelisting specific email providers or domains

2214.0k](/packages/mojoblanco-domainos)

PHPackages © 2026

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