Search by

switon / inspector

switon

Request-scoped development inspection with collector payloads and multi-format views for Switon Framework

v1.0.2 2026-08-22 14:37 UTC

This package is auto-updated.

Last update: 2026-11-24 13:24:15 UTC


README

CI PHP 8.3+

Switon's runtime inspector for request-scoped payload capture, collector discovery, and live debug links.

Highlights

  • Request tracing: the inspector hooks into the request lifecycle and response output.
  • Collector loading: collectors can be discovered and overridden by package metadata.
  • Payload storage: captured payloads can be stored in Redis or the filesystem.
  • Debug links: request and response headers can expose inspector links.
  • Watch mode: InspectorCommand can follow activity and filter it by app or target.

Installation

composer require --dev switon/inspector

Quick Start

curl -i http://<host>:<port>/api/users

Open the returned X-Inspector-Link URL to inspect the captured request.

Docs: https://github.com/switon-php/inspector/blob/main/docs/README.md

License

MIT.