PhpCodeArcheology
未认领PHP static analysis for architecture & maintainability — 60+ metrics, complexity analysis, dependency graphs, git churn hotspots, and AI-ready MCP server. Alternative to PHPMetrics.
安装
docker run --rm -v "$(pwd)":/project -v "$(pwd)/report":/output phpcodearcheology /project更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
11 个工具中显示 11 个
文档中列出的工具 (11)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
get_class_list
All classes with key metrics, sortable and filterable
get_dependencies
Class dependency analysis (incoming/outgoing)
get_graph
Knowledge graph as JSON (nodes, edges, cycles)
get_health_score
Overall code health score, grade, and project statistics
get_hotspots
Git hotspots ranked by churn × complexity
get_impact_analysis
Impact analysis: what breaks if you change a method? Shows callers and call chains
get_metrics
Detailed metrics for a specific class, file, or function
get_problems
Code quality problems, filterable by severity and type
get_refactoring_priorities
Ranked refactoring candidates with recommendations
get_test_coverage
Test coverage summary — tested/untested classes, coverage gaps, test mapping
search_code
Search entities by name with metric overview