hnhdigital-os/laravel-virus-scanner
Laravel Virus Scanner
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.
Install
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,
];
Usage
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.'.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
This is a simple package that includes some of custom Laravel artisan command in...
Run any command from any composer package, even if it's not installed in your pr...
A Laravel calendar table database migration and console command.