mediawiki/mermaid

Provides a parser function to generate diagrams and charts with the help of the mermaid script language

Installs: 14 868

Dependents: 1

Suggesters: 1

Security: 0

Stars: 25

Watchers: 16

Forks: 14

Open Issues: 16

Type:mediawiki-extension

3.0.1 2021-01-14 01:14 UTC

README

Build Status Latest Stable Version Packagist download count

This extension provides the #mermaid parser function to support the generation of diagrams and flowcharts with the help of the mermaid script language. Supported diagram forms include:

  • Flowchart
  • Sequence Diagram
  • Class Diagram
  • State Diagram
  • Gantt Chart
  • Pie Chart
  • Entity Relationship Diagram
  • Git Flow Chart
  • User Journey Chart

Requirements

Requirements for Mermaid 3.x:

  • PHP 7.0 or later
  • MediaWiki 1.33 or later

You can use an older version of Mermaid for older versions of MediaWiki and/or PHP.

Installation and configuration

See the information on installing and configuring this extension.

Usage

See the information on using this extension.

Contribution and support

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.

For developers

See the documention on how to update MermaidJS.

Tests

This extension provides unit and integration tests that are run by a continues integration platform but can also be executed using composer phpunit from the extension base directory.

License

GNU General Public License, version 2 or later.