Specialized Commands
The unified toolkit exposes robust standalone commands mapped directly to discrete operational behaviors for enhanced granularity natively.
1. Running Tests (tests
)
Safely executes the meticulously configured PHPUnit test suite against your codebase exactly. It automatically allocates valid configuration routes natively.
composer dev-tools tests
Supports passing ``--coverage`` to dictate HTML frontend reporting.
2. Auditing Code Style (code-style
)
Analyzes and transparently validates adherence to standard coding constraints leveraging EasyCodingStandard (ECS) and Composer Normalize.
composer dev-tools code-style
Supports passing ``--fix`` to adjust syntax automatically.
3. Automated Refactoring (refactor
)
Triggers abstract syntax tree inspections evaluating logical components internally. It strictly executes architecture upgrades efficiently and securely via Rector natively.
composer dev-tools refactor
Supports passing ``--fix`` to apply transformations to code files.
4. Generating PHPDoc (phpdoc
)
Intelligently audits your project methods to identify lacking definitions, executing Rector rules conforming to RFC 2119 dynamically.
composer dev-tools phpdoc
5. HTML Documentation (docs
)
Reads defined PSR-4 paths logically extracting explicit structures accurately. It deploys HTML documentation describing your internal structural hierarchy using phpDocumentor.
composer dev-tools docs
6. Wiki Markdown Documentation (wiki
)
Extracts explicit API structures and deploys Markdown documentation representing your architectural hierarchy directly into the .github/wiki
repository.
composer dev-tools wiki
7. Reports Output (reports
)
Structurally consolidates distinct reporting commands, accurately aggregating testing coverage and docs into clean visual output components.
composer dev-tools reports