php-diagrams

Community

Generate accurate Mermaid diagrams from PHP code

Authoraxitdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the manual effort and guesswork of creating visual documentation for PHP codebases by automatically researching source code and producing accurate Mermaid diagrams, making architecture, flows, and database schemas easy to understand and maintain.

Core Features & Use Cases

  • Code-driven diagrams: Reads project files to produce sequence, class, ERD, flowchart, state, and other Mermaid diagrams that reflect actual code and database structures.
  • Configurable and multi-repo: Honors .mermaid-diagrams.yaml for sources, output paths, and defaults; supports researching additional local or git repositories for multi-service flows.
  • Organized output: Writes diagrams as Markdown files with Mermaid blocks, maintains an index, and marks draft proposals when the implementation is missing or uncertain.
  • Use case: Visualize a user registration flow across controllers, services, events, and database tables to onboard new engineers or document integrations like Stripe.

Quick Start

Diagram the user registration flow and database relationships as a sequence diagram and ERD for this PHP project using the default configuration.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: php-diagrams
Download link: https://github.com/axitdev/skills/archive/main.zip#php-diagrams

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.