tomasvotruba/type-coverage
CLI tool for measuring PHP type coverage. Scans your codebase and reports how much is covered by native types and PHPDoc (params, returns, properties), helping you spot missing types, raise strictness, and improve static analysis readiness.
Architecture fit: The package is a standalone CLI-based static analysis tool that operates directly on PHP source code, making it highly compatible with Laravel's architecture. It requires no runtime integration, focusing solely on static code inspection without modifying application behavior or dependencies. This aligns perfectly with Laravel's standard project structure (e.g., app/, config/ directories) and CI/CD workflows.
Integration feasibility: High. As a Composer-managed dev dependency (composer require --dev tomasvotruba/type-coverage), it integrates trivially into Laravel projects. The CLI command (e.g., vendor/bin/type-coverage) can be added to existing CI pipelines (GitHub Actions, GitLab CI) with minimal configuration. Laravel
How can I help you explore Laravel packages today?