ClamAV Validator is a Laravel package by Krishnaprasad MG that provides a custom virus validator based on ClamAV antivirus scanner for file uploads.
Some setup is required to use this package—you need to install ClamAV antivirus scanner on your server to make this package work.
Once you have configured your servers, you use this rule like any other validation rule:
$request->validate(['upload' => 'clamav']);
To learn more about the underlying anti-virus engine, check out the ClamAV antivirus website.
You can learn more about the ClamAV Validator package, get full installation instructions, and view the source code on GitHub at sunspikes/clamav-validator.
Filed in: News
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Experienced PHP Developer
Queensboro Shirt Company
- Senior Laravel developer
- Senior Laravel Engineer
Remote okay (must already live in USA)
- Senior Software Engineer (Remote - Contract)
- PHP Developer
Pittsburgh / Remote
Sequoia Waste Solutions
- Software Developer
- Application Developer Level II (CakePHP / MySql / Vue.js)