Download the PHP package masilia/clamav-bundle without Composer

On this page you can find all versions of the php package masilia/clamav-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package clamav-bundle

Masilia ClamAv Bundle

This bundle provides an antivirus scan with clamAv for Symfony and eZ Platform formBuilder

Requirements

Install instructions

  1. Add the project repository:

    In the main composer.json, add:

  2. Install the bundle via Composer (initial installation):

    2.1 Update the bundle via Composer if needed

  3. Activate the bundle in your app/AppKernel.php:

  4. install the clamAv modules in your server

    4.1 Under Debian distribution, run the following commands (adapt according to the distribution used):

    4.2 To update the database, we stop the clamav-freshclam service and then run the corresponding command as follows:

    4.3 Config the ClamAv service:

    • 4.3.1 run the clamAv with TCP|IP protocol.
      -- Under the file /etc/clamav/clamd.conf Add these lines to the config:

    -- Under the file /etc/systemd/system/clamav-daemon.service.d/extend.conf Add the line:

    • 4.3.2 or run the clamAv with UNIX socket protocol.
      -- Under the file /etc/clamav/clamd.conf Add the line :

    • 4.3.3 After these configs you can restart your service :

    • 4.3.4 Add the clamav user to the group www-data:

    • To make sure, execute the command :

    • Output :
  1. Configuration of app/config/config.yml file

-

Usage

5.1 Antivirus constraint

5.4 Customize error message

Troubleshooting

if you get in your logs the message like :

The connexion with the antivirus server is failed, make sure that is the correct socket root path socket_root

There is an issue with file path ,first check the root_path param , if the issue steel occurring in that case the stream scan is privileged , you can enable it in parameters, it may resolve yur issue.

Check the param root_path probably you've put the wrong path where the file is uploaded by PHP


All versions of clamav-bundle with dependencies

PHP Build Version
Package Version
Requires ezsystems/ezpublish-kernel Version ^7.5
xenolope/quahog Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package masilia/clamav-bundle contains the following files

Loading the files please wait ....