Provides a Laravel console command wrapper for clamscan.
hnhdigital-os/laravel-virus-scanner is a Laravel package for provides a laravel console command wrapper for clamscan..
It currently has 6 GitHub stars and 650 downloads on Packagist.
Install it with composer require hnhdigital-os/laravel-virus-scanner.
Discover more Laravel packages by hnhdigital-os
or browse all Laravel packages to compare alternatives.
Last updated
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.
Provides a Laravel console command wrapper around clamscan.
Via composer:
$ composer require-dev bluora/laravel-virus-scanner dev-master
Enable the console command by editing app/Console/Kernel.php:
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
...
\Bluora\LaravelVirusScanner\VirusScannerCommand::class,
];
Run the console command using the following:
# php artisan virus:scan storage
The path can be a file or a folder.
Any infected files are renamed by prepending '.virus.'.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.