# PHP Security

> Firewalls, web shell scanners, and hardening tools for PHP applications.

Navigation: [Index](../../llms.txt) · [HTML](https://awesomeopensource.dev/topic/php-security)

PHP applications face a steady stream of upload abuse, web shells, injection attempts, and vulnerable dependencies. The tools here add a web application firewall, scan for malicious shells, or harden a Laravel deployment with middleware and rule sets.

Use this comparison to pick a runtime defense layer, a forensic scanner for an already compromised host, or a package that integrates cleanly with the framework you already run.

## Feature comparison

| Project | Web application firewall | Web shell detection | Log monitoring | Laravel integration | CLI tooling | IP blocking and rate limiting | Custom detection rules |
|---|---|---|---|---|---|---|---|
| [scr34m/php-malware-scanner](../scr34m-php-malware-scanner.md) | – | – | – | – | – | No | Yes |
| [akaunting/laravel-firewall](../akaunting-laravel-firewall.md) | Yes | No | Yes | Yes | No | Yes | Yes |
| [tstillz/webshell-scan](../tstillz-webshell-scan.md) | No | Yes | Yes | No | Yes | No | Yes |
| [antonioribeiro/firewall](../antonioribeiro-firewall.md) | Yes | No | Yes | Yes | Yes | Yes | Partial (IP and country lists are configurable; detection itself is not rule-based.) |
| [terrylinooo/shieldon](../terrylinooo-shieldon.md) | Yes | No | Yes | Yes | Yes | Yes | Yes |
| [psecio/iniscan](../psecio-iniscan.md) | No | No | No | No | Yes | No | – |
| [emposha/PHP-Shell-Detector](../emposha-php-shell-detector.md) | No | Yes | Yes | No | Yes | No | No |
| [jensvoid/lorg](../jensvoid-lorg.md) | No | No | Yes | No | Yes | No | – |
| [zecure/shadowd](../zecure-shadowd.md) | Yes | No | Yes | No | No | – | – |
| [zecure/shadowd_php](../zecure-shadowd-php.md) | Yes | No | Yes | Yes | No | No | No |
| [tungpun/PunWSD](../tungpun-punwsd.md) | No | Yes | Yes | Yes | No | No | Yes |

## Features

- **Web application firewall**: Filters malicious requests before the application runs.
- **Web shell detection**: Detects or scans for web shells and backdoors.
- **Log monitoring**: Monitors logs or audit trails for attacks.
- **Laravel integration**: Installs as a Laravel package or middleware.
- **CLI tooling**: Runs from the command line.
- **IP blocking and rate limiting**: Blocks abusive IPs or throttles repeated requests.
- **Custom detection rules**: Lets you define or extend the rules and signatures used for detection.

## 11 projects

- [scr34m/php-malware-scanner](../scr34m-php-malware-scanner.md) · Activity score 2.3/5 (Slowing down)
- [akaunting/laravel-firewall](../akaunting-laravel-firewall.md) · Activity score 2.2/5 (Slowing down)
- [tstillz/webshell-scan](../tstillz-webshell-scan.md) · Activity score 1.7/5 (Slowing down)
- [antonioribeiro/firewall](../antonioribeiro-firewall.md) · Activity score 1.4/5 (Abandoned)
- [terrylinooo/shieldon](../terrylinooo-shieldon.md) · Activity score 1.4/5 (Abandoned)
- [psecio/iniscan](../psecio-iniscan.md) · Activity score 1.3/5 (Abandoned)
- [emposha/PHP-Shell-Detector](../emposha-php-shell-detector.md) · Activity score 1.3/5 (Abandoned)
- [jensvoid/lorg](../jensvoid-lorg.md) · Activity score 1.1/5 (Abandoned)
- [zecure/shadowd](../zecure-shadowd.md) · Activity score 1.0/5 (Abandoned)
- [zecure/shadowd_php](../zecure-shadowd-php.md) · Activity score 1.0/5 (Abandoned)
- [tungpun/PunWSD](../tungpun-punwsd.md) · Activity score 1.0/5 (Abandoned)
