Search by

crustum / scrutator

skiedr

CakePHP Scrutator introspects routes, entities, enums, broadcast events and channels, forms, environment variables, and Inertia shared data into typed components

Package info

github.com/Crustum/scrutator

Type:cakephp-plugin

pkg:composer/crustum/scrutator

Statistics

Installs: 31

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-11-18 18:39 UTC

This package is auto-updated.

Last update: 2026-11-18 18:40:05 UTC


README

The Scrutator plugin is a powerful introspection library for CakePHP applications. It walks through your codebase and collects detailed information about your application's components, including routes, controller actions, entities, enums, broadcast events, broadcast channels, environment variables, form validators, and Inertia.js shared data.

With Scrutator, you register callbacks that fire as each component is discovered. Each callback receives a detailed data transfer object (DTO) that you can decide what to do with. Discovery covers the host app and loaded plugins, and collectors are built on the sibling Investigator and Broadcasting packages.

Requirements

  • PHP 8.4+

See Versions.md for the supported CakePHP versions.

Documentation

For documentation, as well as tutorials, see the docs directory of this repository.

License

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.