Skip to content

crowdsecurity/cs-standalone-php-bouncer

Repository files navigation

CrowdSec Logo

CrowdSec standalone PHP bouncer

The official standalone PHP bouncer for the CrowdSec LAPI

Version Test suite Coding standards Licence

📚 Documentation 💠 Hub 💬 Discourse Forum

Overview

This bouncer allows you to protect your PHP application from IPs that have been detected by CrowdSec. Depending on the decision taken by CrowdSec, user will either get denied (403) or have to fill a captcha (401).

It uses the PHP auto_prepend_file mechanism and the Crowdsec php bouncer library to provide bouncer/IPS capability directly in your PHP application.

It supports "ban" and "captcha" remediations, and all decisions of type Ip, Range or Country (geolocation).

Usage

See User Guide

Installation

See Installation Guide

Developer guide

See Developer guide

License

MIT