# PhpCodeArcheology

> Use this tool when you need to analyze and improve PHP code quality by detecting problems, identifying refactoring priorities, and mapping test coverage. It provides 11 tools for querying 60+ code quality metrics, including detection of God Class, dependency cycles, and SOLID violations. Ideal for use in development and maintenance contexts where code optimization and reliability are crucial.

Canonical page: https://skillsregistry.net/skills/phpcodearcheology-phpcodearcheology  
JSON: https://api.skillsregistry.net/v1/skills/phpcodearcheology-phpcodearcheology

## Description

PHP static analysis MCP server with 11 tools for querying 60+ code quality metrics, detecting problems (God Class, dependency cycles, SOLID violations), analyzing dependencies, identifying refactoring priorities, and mapping test coverage — all from live analysis data.

## Trust

- **Trust score (0–1):** 0.85
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** monitoring
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/y6bmytlcam)
- **Repository:** <https://github.com/PhpCodeArcheology/PhpCodeArcheology>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "phpcodearcheology-phpcodearcheology"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/phpcodearcheology-phpcodearcheology` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/phpcodearcheology-phpcodearcheology/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
