Download the PHP package adriengras/php-clamav without Composer
On this page you can find all versions of the php package adriengras/php-clamav. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adriengras/php-clamav
More information about adriengras/php-clamav
Files in adriengras/php-clamav
Package php-clamav
Short Description A PHP/Composer package to use ClamAV to scan folders and files for viruses
License MIT
Homepage https://github.com/AdrienGras/php-clamav
Informations about the package php-clamav
php-clamav
This is a PHP client for the ClamAV virus scanner.
Features
- 🛡️ Uses
clamd
for scanning. - 📂 Supports scanning of files and directories.
- 🔌 Supports scanning of streams.
- 🔗 Supports of TCP and Unix sockets.
- ✨ Supports nearly all the methods provided by the
clamd
daemon. (e.g.PING
,VERSION
,SCAN
,CONTSCAN
,INSTREAM
,RELOAD
,SHUTDOWN
)
Requirements
- A ClamAV
clamd
daemon running with either TCP or Unix socket enabled. - PHP
8.0
or higher with thesockets
extension enabled.
You can easily run a ClamAV
clamd
daemon using the official Docker image. More information can be found here.⚠️ This repository contains a
docker-compose.yml
file that you can use to run a ClamAVclamd
daemon for testing purposes; but it is not recommended to use it in production.
Installation
You can install the package via composer:
Usage
First, you'll need an instance of the client:
Then, you can use nearly all the methods provided by the clamd
daemon:
Testing
You can run the tests using the following commands:
Contributing
Please see CONTRIBUTING for details.
Security
Please see SECURITY for details.
License
This project is under MIT Licence. Please see License File for more information.
Credits
This project is heavily inspired by :
- The appwrite/php-clamav package.
- @yani issue on the appwrite/php-clamav repository.
All versions of php-clamav with dependencies
php Version ^8.0