hbenabdallah

Phpgraph — AI skill for Claude Code

AI community

Knowledge graph of PHP codebases for AI coding agents (Claude Code, Codex, Cursor) over MCP.

How to install Phpgraph

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hbenabdallah/phpgraph and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Phpgraph does

Knowledge graph of PHP codebases for AI coding agents (Claude Code, Codex, Cursor) over MCP. Static analysis, no LLM.

Alternatives in AI

  • Skill Seekers Roadmap — Transform Skill Seekers into the easiest way to create Claude AI skills from any knowledge source - documentat 11.1k ★
  • Wiki Graph — Build the LLM Wiki knowledge graph 2.3k ★
  • Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★

README

phpgraph turns a PHP codebase into a knowledge graph of domains, handlers, repositories, controllers and adapters, served to AI agents through a CLI and an MCP server

phpgraph

A knowledge graph of your PHP codebase, for AI coding agents.
Static analysis served over MCP to Sherpa, Claude Code, Codex, Cursor and any MCP client.
No LLM, no network, no embeddings: deterministic facts, each with a confidence level.

CI Packagist version Downloads PHP 8.2+ License: PolyForm Shield 1.0.0

English · Français


Why phpgraph?

An AI agent dropped into an unfamiliar PHP project reads files one by one and greps for names. It misses what matters most in a real codebase: **who calls what, which handler receives a message, which controller serves a route, what breaks if a method changes, and which layer depends on which**.

phpgraph parses the whole project once (with [`nikic/php-parser`](https://github.com/