crustum / essentia
Detect packages and approaches in use within a CakePHP project
Package info
Type:cakephp-plugin
pkg:composer/crustum/essentia
Requires
- php: >=8.3
- cakephp/cakephp: ^5.0
- laravel/agent-detector: ^2.0.2
Requires (Dev)
- brianium/paratest: ^7.20.0
- cakephp/cakephp-codesniffer: ^5.0
- pestphp/pest: ^4.7.2 || ^5.0.0
- pestphp/pest-plugin-type-coverage: ^4.0.4 || ^5.0.0
- phpstan/phpstan: ^2.2.2
- rector/rector: ^2.4.5
- symfony/process: ^7.4.8 || ^8.1.0
- symfony/var-dumper: ^7.4.8 || ^8.1.0
This package is not auto-updated.
Last update: 2026-07-15 11:00:37 UTC
README
The Essentia plugin provides agent-optimized output for PHP tools used in CakePHP projects. It detects when PHPUnit, Pest, Paratest, PHPStan, Rector, PHPCS, or the CakePHP console are running inside an AI agent — Claude Code, Cursor, Devin, Gemini CLI, and others — and replaces verbose human-readable output with compact, structured JSON.
For CakePHP console commands, Essentia strips ANSI colors, box-drawing characters, and excess whitespace while keeping pass-through text output. Zero configuration — install as a dev dependency and it works automatically through Composer's autoloader.
Essentia only activates when it detects an AI agent. When you or your team run tools directly in the terminal, output is completely unchanged — same colors, same formatting, same experience.
Requirements
- PHP 8.4+
- CakePHP 5.0+
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.