https://github.com/appwrite/php-clamav
ClamAV network and pipe client for PHP
https://github.com/appwrite/php-clamav
appwrite clamav clamav-antivirus clamav-client clamav-scanning hacktoberfest php
Last synced: 3 months ago
JSON representation
ClamAV network and pipe client for PHP
- Host: GitHub
- URL: https://github.com/appwrite/php-clamav
- Owner: appwrite
- License: mit
- Created: 2019-05-11T12:28:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T15:44:44.000Z (11 months ago)
- Last Synced: 2025-03-29T12:05:09.138Z (3 months ago)
- Topics: appwrite, clamav, clamav-antivirus, clamav-client, clamav-scanning, hacktoberfest, php
- Language: PHP
- Homepage: https://github.com/appwrite
- Size: 41 KB
- Stars: 67
- Watchers: 17
- Forks: 30
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Appwrite ClamAV PHP Client
[](https://appwrite.io/discord?r=Github)

[](https://travis-ci.com/appwrite/php-clamav)
[](https://twitter.com/appwrite)PHP Client to connect to ClamAV daemon over TCP or using a local socket from command line and scan your storage files for viruses.
## Getting Started
Install using composer:
```bash
composer require appwrite/php-clamav
``````php
ping(); // Check ClamAV is up and running$clam->version(); // Check ClamAV version
$clam->fileScan('path/to/file.dmg'); // Returns true if a file is clean or false if a file is infected
$clam->reload(); // Reload ClamAV database
$clam->shutdown(); // Shutdown ClamAV
```## System Requirements
This package requires PHP 7.1 or later. We recommend using the latest PHP version whenever possible.
## Find Us
* [GitHub](https://github.com/appwrite)
* [Discord](https://appwrite.io/discord)
* [Twitter](https://twitter.com/appwrite)## Authors
**Eldad Fux**
+ [https://twitter.com/eldadfux](https://twitter.com/eldadfux)
+ [https://github.com/eldadfux](https://github.com/eldadfux)## Copyright and license
The MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)