← Exponential Request Shield

// Exponential Request Shield

Install

Five steps with Composer: require the package, activate the extension, add one line to config.php, give the site its own rules, and read the log.

Exponential 6 Open source · GPL v2 or later

What you need

  • Exponential 6.0. Under PHP-FPM with Apache or nginx the hook needs nothing from the kernel; under Exponential Velocity, use the 6.0.15 line.
  • PHP 7.4 to 8.5. On PHP 7.4 the extension loads a build of the same library files with the syntax downgraded.
  • APCu is optional: without it the counters live in plain files.

Quick start

composer require se7enxweb/exp_request_shield
  1. Activate the extension: ActiveExtensions[]=exp_request_shield in settings/override/site.ini.append.php.
  2. Add the hook to config.php, above the HTTP cache's early exit (see below).
  3. Give the site its own rules: copy rules/request-shield.rules and the three rules/exponential*.rules files to settings/request-shield/, then name your host names. Or press any mode switch in Setup > Request shield, which makes the copies for you.
  4. Regenerate the autoloads, clear the caches, and open Setup > Request shield.
  5. Read Setup > Request shield > Log for anything a real visitor or editor did, and add an exception for it, or set mode monitor while you look.

The hook in config.php:

if ( is_file( __DIR__ . '/extension/exp_request_shield/bootstrap/hook.php' ) )
    require __DIR__ . '/extension/exp_request_shield/bootstrap/hook.php';

Check the rules before they go live:

cd extension/exp_request_shield
php bin/request-shield check ../../settings/request-shield/request-shield.rules
php bin/request-shield test  ../../settings/request-shield/request-shield.rules

After an update

Your copies in settings/request-shield/ are written once and never changed by an update. Compare them with extension/exp_request_shield/rules/ after every update and read the changelog for rules that changed.

The full procedure, with Velocity, permissions and checks: INSTALL.md. Running on 7x hosting? We install and tune it for you.

// why Exponential

Ready for production on day one. Secure by default.

Other systems make you program before you see a result. Exponential is a finished platform the moment the installation ends.

01

Installed = shippable

Content model, roles, versions, workflows, search and caching are there when the installer finishes. No plugins to pick, no code to write first.

02

Request shield built in*

A web application firewall decides every request before the site runs. WordPress's own hardening guide sends you to plugins or a separate firewall.

03

No kernel gluing

Frameworks hand you components to assemble into a CMS. In Exponential that work is done, tested and maintained for you.

Stop reinventing the wheel. Drive the roadster: the price of an entry-level car, built like a tank for production.*

*No system is immune to every attack; Exponential ships the request shield and secure defaults so most common attacks are blocked before they reach your site, and 7x keeps it patched.

// more about Request Shield

Keep exploring.

Exponential Request Shield →

Features

Everything Request Shield does for an Exponential site out of the box, and every rule that does it.

Read more →

How it works

Request Shield runs before Exponential starts, decides each request in microseconds, and fails safe when anything goes wrong.

Read more →

Rules reference

One rule per line in a plain text file, with examples that prove each rule before it goes live.

Read more →

Download and releases

The latest release is 0.0.1.9, from November 28, 2026. Get it with Composer or from GitHub.

Read more →

Keep the junk away from your site.

Install Request Shield yourself in a few minutes, or let 7x install, tune and watch it for you on 7x hosting.