middleware

Installation
SKILL.md

Slim Middleware

When to use

  • The user wants to add PSR-15 middleware to a Slim app or a specific route or group.
  • The user needs Slim middleware that runs logic before and after the handler around $handler->handle().
  • The user is reasoning about the execution order of stacked Slim middleware and the onion model.

When NOT to use

  • Do not run long-running or background work inside middleware on the request path.
  • Do not build middleware for logic that concerns only a single route and is not cross-cutting.

Core guidance

Installs
1
GitHub Stars
3
First Seen
Jul 3, 2026
middleware — anyorgname/php-skills