Laravel Virus Scanner
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital., (*1)
, (*2)
, (*3)
Provides a Laravel console command wrapper around clamscan., (*4)
Install
Via composer:, (*5)
$ composer require-dev bluora/laravel-virus-scanner dev-master
, (*6)
Enable the console command by editing app/Console/Kernel.php:, (*7)
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
...
\Bluora\LaravelVirusScanner\VirusScannerCommand::class,
];
Usage
Run the console command using the following:, (*8)
# php artisan virus:scan storage
, (*9)
The path can be a file or a folder., (*10)
Any infected files are renamed by prepending '.virus.'., (*11)
Contributing
Please see CONTRIBUTING for details., (*12)
Credits
License
The MIT License (MIT). Please see License File for more information., (*13)