定制 appwrite/php-clamav 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

appwrite/php-clamav

最新稳定版本:2.0.0

Composer 安装命令:

composer require appwrite/php-clamav

包简介

ClamAV network and pipe client for PHP

README 文档

README

Discord Total Downloads Build Status Twitter Account

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:

composer require appwrite/php-clamav
<?php

require_once 'vendor/autoload.php';

use Appwrite\ClamAV\Network;

$clam = new Network('localhost', 3310); // Or use new Pipe() for unix socket

$clam->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

Authors

Eldad Fux

Copyright and license

The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php

统计信息

  • 总下载量: 1.13M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 73
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 1

GitHub 信息

  • Stars: 73
  • Watchers: 15
  • Forks: 30
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-11