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
- Medior Laravel Backend Developer (The Netherlands/Dutch only)
Nijmegen, The Netherlands
- Laravel Developer
- Senior Laravel Backend Engineer
Remote, USA Only
- Full Stack Developer
- Senior PHP Developer
Join 31,000+ others and never miss out on new tips, tutorials, and more.