bluora / laravel-virus-scanner
This package is abandoned and no longer maintained.
The author suggests using the hnhdigital-os/laravel-virus-scanner package instead.
Provides a Laravel console command wrapper for clamscan.
dev-master
2017-09-08 01:06 UTC
Requires
- php: >=5.5.0
- symfony/yaml: ~3.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- illuminate/database: 4.*|5.*
- phpunit/phpunit: 4.*
- symfony/process: ~2.3
This package is not auto-updated.
Last update: 2022-02-01 13:02:56 UTC
README
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.