PHP code example of crys / laravel-clamav

1. Go to this page and download the library: Download crys/laravel-clamav library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

crys / laravel-clamav example snippets


'providers' => [
	// ...

	Crys\Clamav\ServiceProvider::class,
],

$rules = [
	'my_file_field' => 'clamav',
];