Laravel quality gate — phpcs, phpstan, phpunit, composer audit, security analyzers.
This note compares rampart/quality-checker against
enlightn/enlightn (982 stars, 106 forks)
— the best-known Laravel audit tool for performance + security. Enlightn
figures come from the upstream README at the time of writing (the repo has been archived,
read-only since 01/2026).
| Criterion | quality-checker (v0.7.x) | enlightn/enlightn (OSS) |
|---|---|---|
| Status | Active | Archived 01/2026, read-only |
| Check count | 43 custom rules + 5 tool gates (phpcs/phpstan/phpunit/composer-audit/trivy) | 66 checks OSS (131 with commercial Pro) |
| Check groups | Security (OWASP Top 10) + migration/validation + coverage + convention | Performance (37) + security (49) + reliability (45), including the Pro version |
| Analysis philosophy | Static, no Laravel boot | Boot app + dynamic analysis |
| Laravel support | Up to Laravel 12 | Stops at Laravel 11 |
| OS support | Windows + Linux/macOS, both in CI | macOS/Linux only, no Windows support |
0.x line (v0.7.x), with CI dogfooding — including a self-scan where
the package’s own analyzers run over its own src/..env/missing DB; Windows supported and covered in CI.tests/Unit/AnalyzerMetricsTest.php) —
Enlightn publishes no such metrics.Route::controller(), cross-file require,
FQCN keys), taint engine, migration restore detection — static areas where
Enlightn OSS only used heuristics too.// quality-checker-ignore RULE (Enlightn only has a baseline).Not competing on runtime check count with Enlightn (which requires booting the app + a production env, complex, and already done well by others). Going deeper on static precision — exactly the area where Enlightn OSS was weak and gave up: every new rule ships with a TP/FP corpus so precision/recall never regress, validated on real repositories before merge.