crustum / inspector
Detect packages and approaches in use within a CakePHP project
Package info
Type:cakephp-plugin
pkg:composer/crustum/inspector
Requires
- php: >=8.2
- cakephp/cakephp: ^5.0
- composer/semver: ^3.0
- symfony/polyfill-php84: ^1.31
- symfony/yaml: ^7.2|^8.0
Requires (Dev)
- cakephp/bake: ^3.0
- cakephp/cakephp-codesniffer: ^5.0
- mockery/mockery: ^1.6
- pestphp/pest: ^3.8 || ^4.1
- pestphp/pest-plugin-type-coverage: ^3.6 || ^4.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5.5 || ^12.5
- rector/rector: ^2.5
README
The Inspector plugin detects packages and development approaches in CakePHP projects by scanning Composer and JavaScript lockfiles, filesystem markers, and optionally PHP source conventions.
Inspector reports Composer and npm-family dependencies, application stacks and frontends, browser test frameworks, AI agents and editors, the JS package manager indicated by the committed lockfile, and stylistic approaches such as enum case casing and entity accessibility patterns.
The plugin integrates with CakePHP's plugin system and Cache layer, exposes a ProjectManager / ProjectScan API for programmatic use, and provides a inspector scan console command that emits JSON.
Requirements
- PHP 8.2+
See Versions.md for the supported CakePHP versions.
Documentation
For documentation, as well as usage examples, 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.