hnhdigital-os / laravel-virus-scanner by bluora

Provides a Laravel console command wrapper for clamscan.
24
2
1
Package Data
Maintainer Username: bluora
Maintainer Contact: rocco@bluora.com.au (Rocco Howard)
Package Create Date: 2016-11-15
Package Last Update: 2017-09-08
Language: PHP
License: MIT
Last Refreshed: 2019-11-11 03:09:36
Package Statistics
Total Downloads: 24
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Laravel Virus Scanner

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status StyleCI Test Coverage Issue Count Code Climate

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.