Skip to content

Core Concepts

Draft

This page is a stub. Content coming.

To cover

  • Pipehandle(Request, Response, array $args, callable $next): Response; onion middleware, short-circuiting
  • Handlerhandle(array|HandlerInput): ?HandlerResult; one unit of business logic
  • HandlerInput — typed input constructed from raw body + optional Validator
  • HandlerResultsuccess/data/errors/meta; injected instance, never static
  • Listener — a Handler registered on an event name (same interface, returns null)
  • How the same Handler is reused across HTTP and events

Released under the MIT License.