A static analysis tool for PHP projects that identifies architectural patterns, anti-patterns, and drift.
This tool uses the phpsyntax/phpsyntax library to parse PHP code into a lossless concrete syntax tree (CST) and perform architectural analysis.
This is a pre-alpha project at present.
- Layered architecture compliance
- Dependency injection patterns
- SOLID principle adherence
- Design pattern usage
- God classes (too many responsibilities)
- Circular dependencies
- Tight coupling
- Static method overuse
- Layer violations
- Track architectural changes
- Detect violations of established patterns
- Report on codebase evolution
- Suggest improvements
- Generate patches
- Automated refactoring where possible
MIT License