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 31,000+ others and never miss out on new tips, tutorials, and more.
- Senior Full Stack PHP Developer (Laravel)
- Senior Laravel Developer
- Senior Full-Stack Engineer
[REMOTE: USA Only]
- Developers for B2B eCommerce SaaS, AWS serverless, Laravel, Vue, Python
Remote, full time EU only
ES Tech Group
- Senior PHP Developer (Laravel)
The Interaction Design Foundation