Download the PHP package symbiote/silverstripe-steamedclams without Composer

On this page you can find all versions of the php package symbiote/silverstripe-steamedclams. 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 silverstripe-steamedclams

Introduction

Using ClamAV, this module scans files as their uploaded and denies uploading if a virus was detected. If the ClamAV daemon is down it will log that the file needs to be scanned, wherein you can either manually scan via the CMS once the daemon is back online, run a nightly cron that scans the files or if you have queuedjobs installed, it will automatically scan missed files at nightly.

Composer Install

Screenshots

ModelAdmin

UploadField

Quick Start

1) Install ClamAV in Unix/Linux.

run when necessary.

2) Start clamav-daemon

And check the clamav-daemon is running.

3) Setup socket permissions The clamav-daemon creates this /var/run/clamav/clamd.ctl if not.

'defaultsite' being the user and group that has ownership.

4) Configure clamd.conf:

(optional) You can use a different socket path, but you will need to change it in the config YML like below to match your clamd.conf:

5) After running dev/build?flush, all files should scan for viruses automatically during uploading / validation. If you are using

6) To check to see if it's running properly, it should show that it's ONLINE at: http://{mysite.com}/admin/clamav

Configuration

If you have the QueuedJobs module installed, you can configure when files missed by ClamAV daemon are scanned. This job will only queue if the daemon couldn't be connected to at the time that the file was uploaded.

Install on existing project

By running the task below, all files uploaded before installation of the module will be scanned.

To ignore certain files before a specific date, you can configure the datetime in your YML files, as below:

Emulate Mode

To emulate ClamAV results, put in your YML

Then in your _config.php, switch between various testing modes:

Supports

Credits

Barakat S for clamd PHP interface "How to Forge" users for fixing permission issues


All versions of silverstripe-steamedclams with dependencies

PHP Build Version
Package Version
Requires silverstripe/framework Version ^5
silverstripe/admin Version ^2
silverstripe/reports Version ^5
silverstripe/siteconfig Version ^5
xenolope/quahog Version ^3.0
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 symbiote/silverstripe-steamedclams contains the following files

Loading the files please wait ....