PhpCodeArcheology
用于架构与可维护性的 PHP 静态分析——60+ 指标、复杂性分析、依赖图、git 变更热点,以及支持 AI 的 MCP 服务器。PHPMetrics 的替代方案。
PHP static analysis for architecture & maintainability — 60+ metrics, complexity analysis, dependency graphs, git churn hotspots, and AI-ready MCP server. Alternative to PHPMetrics.
怎么安装
npx -y html-report 简介
PhpCodeArcheology **PhpCodeArcheology** is a PHP static analysis tool that measures code quality through 60+ metrics including cyclomatic complexity, maintainability index, coupling, and cohesion. It generates comprehensive reports for files, classes, methods, and functions — detecting code smells, identifying hotspots via git churn analysis, and tracking quality trends over time. Unlike PHPStan or Psalm (which focus on type safety and bug detection), PhpCodeArcheology focuses on **architecture and maintainability** — giving you the insights you need to understand and improve your codebase str…
推荐参考
信息
- 协议
- MIT
- 语言
- PHP
- GitHub 星标
- 91
- 月下载
- 16
- 最近更新
- 2026-09-19
- 创建于
- 2023-12-22
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:punkpeye/awesome-mcp-servers
- 主题标签
- architecture, ast, code-analysis, code-metrics, code-quality, complexity, developer-tools, maintainability, mcp, metrics, php, php-static-analysis, quality-assurance, sarif, static-analysis, technical-debt
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23