|
6 | 6 |
|
7 | 7 | <!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
8 | 8 | <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
9 |
| - |
| 9 | +**Table of Contents** |
| 10 | + |
| 11 | +- [Local development](#local-development) |
| 12 | + - [DDEV setup](#ddev-setup) |
| 13 | + - [DDEV installation](#ddev-installation) |
| 14 | + - [Prepare DDEV PHP environment](#prepare-ddev-php-environment) |
| 15 | + - [DDEV Usage](#ddev-usage) |
| 16 | + - [Add CrowdSec bouncer and watcher](#add-crowdsec-bouncer-and-watcher) |
| 17 | + - [Use composer to update or install the lib](#use-composer-to-update-or-install-the-lib) |
| 18 | + - [Find IP of your docker services](#find-ip-of-your-docker-services) |
| 19 | + - [Unit test](#unit-test) |
| 20 | + - [Integration test](#integration-test) |
| 21 | + - [Auto-prepend mode (standalone mode)](#auto-prepend-mode-standalone-mode) |
| 22 | + - [End-to-end tests](#end-to-end-tests) |
| 23 | + - [Coding standards](#coding-standards) |
| 24 | + - [PHPCS Fixer](#phpcs-fixer) |
| 25 | + - [PHPSTAN](#phpstan) |
| 26 | + - [PHP Mess Detector](#php-mess-detector) |
| 27 | + - [PHPCS and PHPCBF](#phpcs-and-phpcbf) |
| 28 | + - [PSALM](#psalm) |
| 29 | + - [PHP Unit Code coverage](#php-unit-code-coverage) |
| 30 | + - [Generate CrowdSec tools and settings on start](#generate-crowdsec-tools-and-settings-on-start) |
| 31 | + - [Redis debug](#redis-debug) |
| 32 | + - [Memcached debug](#memcached-debug) |
| 33 | +- [Example scripts](#example-scripts) |
| 34 | + - [Clear cache script](#clear-cache-script) |
| 35 | + - [Full Live mode example](#full-live-mode-example) |
| 36 | + - [Set up the context](#set-up-the-context) |
| 37 | + - [Get the remediation the clean IP "1.2.3.4"](#get-the-remediation-the-clean-ip-1234) |
| 38 | + - [Now ban range 1.2.3.4 to 1.2.3.7 for 12h](#now-ban-range-1234-to-1237-for-12h) |
| 39 | + - [Clear cache and get the new remediation](#clear-cache-and-get-the-new-remediation) |
| 40 | +- [Discover the CrowdSec LAPI](#discover-the-crowdsec-lapi) |
| 41 | + - [Use the CrowdSec cli (`cscli`)](#use-the-crowdsec-cli-cscli) |
| 42 | + - [Add decision for an IP or a range of IPs](#add-decision-for-an-ip-or-a-range-of-ips) |
| 43 | + - [Add decision to ban or captcha a country](#add-decision-to-ban-or-captcha-a-country) |
| 44 | + - [Delete decisions](#delete-decisions) |
| 45 | + - [Create a bouncer](#create-a-bouncer) |
| 46 | + - [Create a watcher](#create-a-watcher) |
| 47 | + - [Use the web container to call LAPI](#use-the-web-container-to-call-lapi) |
| 48 | +- [Commit message](#commit-message) |
| 49 | + - [Allowed message `type` values](#allowed-message-type-values) |
| 50 | +- [Release process](#release-process) |
10 | 51 |
|
11 | 52 | <!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
12 | 53 |
|
|
0 commit comments