Diagrams in PHP, rendered to SVG. Fifteen types with fluent builders, Mermaid parsing, and canonical Mermaid output. No browser, no Node, no external binary.
-
Updated
Sep 24, 2026 - PHP
Diagrams in PHP, rendered to SVG. Fifteen types with fluent builders, Mermaid parsing, and canonical Mermaid output. No browser, no Node, no external binary.
PHP to Diagram is a library that enables bidirectional conversion between PHP code and visual workflow diagrams. It transforms PHP logic into low-code, visual diagrams, and converts those diagrams back into fully functional PHP code. This approach lets both programmers and non-programmers manage application logic visually or through code.
To associate your repository with the php-diagram topic, visit your repo's landing page and select "manage topics."