PHP adapter for the mermaid project by @knsv (github.com/knsv/mermaid).