PHPackages                             kompaneytsev/mermaid-node-dumper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kompaneytsev/mermaid-node-dumper

ActiveLibrary

kompaneytsev/mermaid-node-dumper
================================

00PHP

Since Mar 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Kompaneytsev/mermaid-node-dumper)[ Packagist](https://packagist.org/packages/kompaneytsev/mermaid-node-dumper)[ RSS](/packages/kompaneytsev-mermaid-node-dumper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mermaid node dumper
===================

[](#mermaid-node-dumper)

Output ast tree built by [nikic/php-parser](https://github.com/nikic/php-parser) and represented in [mermaid](https://mermaid.js.org/) using [jbzoo/mermaid-php](https://github.com/JBZoo/Mermaid-PHP). Extended `\Kompaneytsev\MermaidNodeDumper\StyledNode` supports mermaid styles, check out [advanced example](#advanced-example).

Simple example
--------------

[](#simple-example)

```
