{"repo":"denzyldick/phanalist","free":true,"listed":false,"github":"https://github.com/denzyldick/phanalist","clone":"git clone https://github.com/denzyldick/phanalist.git","description":"Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.","language":"Rust","stars":161,"topics":["php","refactoring","static-analysis","static-code-analysis"],"license":"MIT","category":"dev-tools","readme_excerpt":"Performant static analyzer for PHP, written in Rust. Catches common mistakes and enforces best practices with zero configuration required. --- 🤔 Why Phanalist? PHP codebases grow. As they grow, they accumulate technical debt — god classes that do everything, methods no one can follow, hidden complexity that breaks with every change. Traditional linters catch syntax errors and style issues, but they don't tell you if your code is maintainable . Phanalist focuses on structural health . It measures what matters for long-term maintainability: - Complexity metrics — cyclomatic complexity, cognitive complexity, LOC per method, nested paths - Coupling & cohesion — Law of Demeter violations, god classes, data classes, fan-in/fan-out - Object-oriented design — depth of inheritance, weighted methods per class, response for a class - Readability — comment ratios, error suppression, method parameter counts Think of it as a health checkup for your PHP code. It doesn't just tell you that something is wrong — each rule explains why it matters and how to fix it. --- ✨ Features - 🚀 Fast — built in Rust, analyzes large codebases in seconds - 🔍 31 built-in rules — covering complexity, style, design patterns, and more - ⚙️ Zero config to start — works out of the box, configure only what you need - 📄 Multiple output formats — text , json , sarif (for CI pipelines with inline PR annotations via GitHub Action), and codeclimate (for Code Quality platforms) - 🔌 Extensible — adding a custom rule ","default_branch":null,"files":null,"tree":[],"storefront":"/r/denzyldick","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/denzyldick/phanalist/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}