Download the PHP package daniesy/virus-scanner without Composer

On this page you can find all versions of the php package daniesy/virus-scanner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package virus-scanner

Laravel Virus Scanner

A simple and updated Virus Total wrapper for Laravel 5.5+

Info

This package is designed to be used with Laravel 5.5, but you can use it as a standalone package too.

Laravel Virus Scanner provides a service provider and a facade, but thanks to Laravel's package auto-discovery, you DON'T need to edit app.php. :)

Instalation

Get starting in 3 easy steps:

  1. Install package: composer require daniesy/virus-scanner
  2. Publish vendor settings: php artisan vendor:publish
  3. Set your api_key in the config/virus_scanner.php

Usage

Laravel Virus Scanner implements all the features offered by the Virus Total Api.

Scan a file

The scan process can take some time because the files scanned through the Virus Total Api are handled with the lowest priority.

use VirusScanner;

$scanner = VirusScanner::scanFile('/path/to/file');
$result = $scanner->checkResult();

echo $result->total;         // The total number of scans
echo $result->positives;     // The number of positive detections
echo $result->permalink;     // Url of the scan page
var_dump($result->scans);    // Array of results for each individual scan

Scan an url

use VirusScanner;

$scanner = VirusScanner::scanUrl('http://url/to/file.exe');
$result = $scanner->checkResult();

Check a domain

use VirusScanner;

$report = VirusScanner::checkDomain("https://danutflorian.com");
var_dump($report);

Check an ip

use VirusScanner;

$report = VirusScanner::checkIp('192.168.1.1');
var_dump($report);

All versions of virus-scanner with dependencies

PHP Build Version
Package Version
Requires jayzeng/virustotalapi Version ^0.1.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package daniesy/virus-scanner contains the following files

Loading the files please wait ...