Download the PHP package monaz/vt-laravel-rules without Composer
On this page you can find all versions of the php package monaz/vt-laravel-rules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download monaz/vt-laravel-rules
More information about monaz/vt-laravel-rules
Files in monaz/vt-laravel-rules
Package vt-laravel-rules
Short Description Set of useful validation rules using VirusTotal API for Laravel
License MIT
Informations about the package vt-laravel-rules
Laravel VirusTotal Validation Rules
This package provides a set of useful validation rule to get scan reports of files, urls, domains and ips.
This is based on my other library PHP client library for VirusTotal Public API v3.0.
Installation:
- You will need composer (http://getcomposer.org/)
- composer search
vt-laravel-rules
or visit the package info on packagist (https://packagist.org/packages/monaz/vt-laravel-rules)
Install using composer by running:
Or include the following in your composer.json:
Then run:
Then publish the package assets including the config and translation files:
By publishing the assets you will see a virus-total.php
in your
default config dir. Make sure to acquire a suitable API key from
VirusTotal and put it in the config page.
Instead of always changing the config file, you can also set the
VIRUS_TOTAL_API_KEY
key in your .env
file.
Usage:
See the following basic usage example
Contributing
Thank you for considering contributing to the library! Just fork and when you are done make an PR. Just make sure you run the tests before submitting your request.
You can run the phpunit tests using this command:
License
The library is open-sourced software licensed under the MIT license.