Download the PHP package moosylvania/silverstripe-registrationguard without Composer

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

Silverstripe Registration Guard

CI Packagist Version

Anti-spam for Silverstripe forms that create records — registrations, sweepstakes entries, anything a bot would like to submit ten thousand times.

The guard runs a signed dwell-time check, its own honeypot field, a per-IP rate limit, configurable hard blocks, and a scored "this text looks machine generated" heuristic. Everything it blocks is written to a log with the reasons, so you can tune the thresholds against your own traffic rather than guessing. Users get one generic error and are told nothing about which rule fired.

One install serves many forms: each form names a source, and a source supplies the target class, the field names and any threshold overrides.

Requirements

Module Silverstripe PHP
^2 (branch main) 6 8.3+
^1 (branch 1) 5 8.1+

Then run dev/build?flush=1.

Quick start

Define a source for the form you want to protect:

Add the guard fields to the form, and run the check in the action:

That is the whole integration. There is also an opt-in mode that wires itself in via YAML with no PHP changes at all — see the docs below.

To make the gmail-alias duplicate check work, apply the canonical email extension to your target class:

Documentation

License

MIT. See LICENSE.


All versions of silverstripe-registrationguard with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
silverstripe/framework Version ^6
silverstripe/admin Version ^3
silverstripe/vendor-plugin Version ^3
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 moosylvania/silverstripe-registrationguard contains the following files

Loading the files please wait ...