aureola/laravel-teapot
Adds HTTP 418 I'm a teapot responses to Laravel apps, with middleware, route macros, and helpers for returning proper teapot status codes, configurable messages, and a tea-themed error page for playful APIs and demos.
/wp-login.php, /admin, /.env, /.git; (2) emit parseable log lines for fail2ban auto-banning; (3) produce attacker-IP telemetry for security dashboards; (4) demonstrate "active defense" posture for audits/compliance narratives.Adopt it when:
Look elsewhere when:
For executives: A near-zero-cost, low-risk "active defense" add-on for our Laravel app. It exposes a tripwire endpoint that scanners will hit; each hit is logged and can auto-ban the source IP via fail2ban. It's a detection layer, not a silver bullet — it complements (doesn't replace) our WAF and auth hardening. Expected outcome: earlier visibility into probing activity and a small, measurable drop in nuisance traffic. Because the package is tiny and early-stage, we should pin or vendor it to avoid maintenance risk.
For engineering: Minimal integration — a route + middleware returning 418 and emitting a structured log line, plus a fail2ban filter.d/jail.local entry. The package itself is small enough to audit or reimplement in an afternoon, so treat it as a scoped spike: wire it behind a feature flag, measure log volume and false positives (careful not to ban legitimate clients that trip the canary), and only promote to production after validating ban accuracy.
How can I help you explore Laravel packages today?