Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hnhdigital-os/laravel-virus-scanner
Laravel console command wrapper for virus scanning.
https://github.com/hnhdigital-os/laravel-virus-scanner
Last synced: 11 days ago
JSON representation
Laravel console command wrapper for virus scanning.
- Host: GitHub
- URL: https://github.com/hnhdigital-os/laravel-virus-scanner
- Owner: hnhdigital-os
- Created: 2016-11-15T00:43:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T01:06:56.000Z (over 7 years ago)
- Last Synced: 2024-12-21T23:37:44.968Z (about 1 month ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Laravel Virus Scanner
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at [hnh.digital](http://hnh.digital).
[![Latest Stable Version](https://poser.pugx.org/bluora/laravel-virus-scanner/v/stable.svg)](https://packagist.org/packages/bluora/laravel-virus-scanner) [![Total Downloads](https://poser.pugx.org/bluora/laravel-virus-scanner/downloads.svg)](https://packagist.org/packages/bluora/laravel-virus-scanner) [![Latest Unstable Version](https://poser.pugx.org/bluora/laravel-virus-scanner/v/unstable.svg)](https://packagist.org/packages/bluora/laravel-virus-scanner) [![License](https://poser.pugx.org/bluora/laravel-virus-scanner/license.svg)](https://packagist.org/packages/bluora/laravel-virus-scanner)
[![Build Status](https://travis-ci.org/bluora/laravel-virus-scanner.svg?branch=master)](https://travis-ci.org/bluora/laravel-virus-scanner) [![StyleCI](https://styleci.io/repos/73760736/shield?branch=master)](https://styleci.io/repos/73760736) [![Test Coverage](https://codeclimate.com/github/bluora/laravel-virus-scanner/badges/coverage.svg)](https://codeclimate.com/github/bluora/laravel-virus-scanner/coverage) [![Issue Count](https://codeclimate.com/github/bluora/laravel-virus-scanner/badges/issue_count.svg)](https://codeclimate.com/github/bluora/laravel-virus-scanner) [![Code Climate](https://codeclimate.com/github/bluora/laravel-virus-scanner/badges/gpa.svg)](https://codeclimate.com/github/bluora/laravel-virus-scanner)
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:
```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](https://github.com/bluora/laravel-virus-scanner/blob/master/CONTRIBUTING.md) for details.
## Credits
* [Rocco Howard](https://github.com/therocis)
* [All Contributors](https://github.com/bluora/laravel-virus-scanner/contributors)## License
The MIT License (MIT). Please see [License File](https://github.com/bluora/laravel-virus-scanner/blob/master/LICENSE) for more information.