Skip to content

Repository files navigation

Switon Inspector Package

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://docs.switon.dev/latest/inspector

License

MIT.

About

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

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages