Download the PHP package ylly/clamav without Composer
On this page you can find all versions of the php package ylly/clamav. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor ylly
Package clamav
Short Description A simple PHP library for scanning files with ClamAV
License MIT
Package clamav
Short Description A simple PHP library for scanning files with ClamAV
License MIT
Please rate this library. Is it a good library?
Informations about the package clamav
Clamav PHP library
This library allows you to easily scan file with ClamAv into you project
Require
- PHP 5.6+
- PHP Socket
Installation
Usage
Create Clamav object :
Clamav Available
You can check if clamav is available with PING command.
Clamav Version
Get version of clamav
Note : if clamav is unavailable, the function throw an FailedSocketConnectionException
Clamav scan
$result
is instance of ScanResponse
Status combine with binary or ( | ) :
Clamav::CLAMAV_INFECT
Clamav::CLAMAV_ERROR
Clamav::CLAMAV_CLEAN
Use helper for check status
isInfected()
isUnckeck()
isClean()
hasSomeProblems()
Note : if clamav is unavailable, the function throw an FailedSocketConnectionException
Configuration file
All versions of clamav with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-sockets Version *
symfony/yaml Version ^2.2 || ^3.0 || ^4.0 || ^5.0 || ^6.0
ext-sockets Version *
symfony/yaml Version ^2.2 || ^3.0 || ^4.0 || ^5.0 || ^6.0
The package ylly/clamav contains the following files
Loading the files please wait ....