Getting Started ​
Installation ​
1. Clone the repository ​
bash
cd wp-content/plugins/
git clone https://github.com/AfterglowWeb/wordpress-rest-api-firewall.git rest-api-firewall
cd rest-api-firewall2. Install PHP dependencies ​
bash
composer install3. Install JS dependencies and build ​
bash
yarn
yarn build4. Activate the plugin ​
Go to WordPress Admin → Plugins and activate WordPress Application Layer.
Start Here: First-Run Checklist ​
After activation, use this order in the admin UI:
- Open Auth & Rate Limiting and link at least one WordPress user.
- Open Routes and enable authentication/rate limiting defaults for your API surface.
- Open IP Filtering and define your baseline global blocklist rules.
- Open Properties and apply global transforms (relative URLs, embedded fields, flattening).
- Open Webhook if you need outbound event delivery.
Go Pro: First-Run Checklist ​
- Activate your license in License Management.
- Create your first Application.
- Configure application defaults in Settings and module cards.
- Link users in Users and refine route access in Routes.
- If running headless only, configure WordPress Mode.
Keep It Safe: Architecture Checks (Recommended) ​
Run these before major refactors:
bash
yarn graph:lint
composer graph:php