PHPackages                             plank/siren - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. plank/siren

ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

plank/siren
===========

Mermaid.js markdown generator for php

1.0.0(3y ago)781[2 PRs](https://github.com/plank/siren/pulls)MITPHPPHP ^8.1

Since Feb 20Pushed 2y ago2 watchersCompare

[ Source](https://github.com/plank/siren)[ Packagist](https://packagist.org/packages/plank/siren)[ Docs](https://github.com/plank/siren)[ GitHub Sponsors](https://github.com/plank)[ RSS](/packages/plank-siren/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

[![](art/siren.webp)](https://plank.co)

[![PHP Version Support](https://camo.githubusercontent.com/f59f112cabd501a4cf0979b90b263ff03d2c15f72b00911f48752659903d3fd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f706c616e6b2f736972656e3f636f6c6f723d253233666165333730266c6162656c3d706870266c6f676f3d706870266c6f676f436f6c6f723d253233666666)](https://packagist.org/packages/plank/siren)[![GitHub Workflow Status](https://camo.githubusercontent.com/c39c548118aebae376ac6eeae202926f90f1b3443a42e0abedb9852e547a4e8f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706c616e6b2f736972656e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e2626636f6c6f723d253233626663396264266c6162656c3d72756e2d7465737473266c6f676f3d676974687562266c6f676f436f6c6f723d253233666666)](https://github.com/plank/siren/actions?query=workflow%3Arun-tests)[![](https://camo.githubusercontent.com/a9e3ef6738bdd16db4e6b5367dc4754bf67cb93025a2e3e3889128fefa86dc78/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f706c616e6b2f736972656e3f636f6c6f723d253233666639333736266c6162656c3d74657374253230636f766572616765266c6f676f3d636f64652d636c696d617465266c6f676f436f6c6f723d253233666666)](https://codeclimate.com/github/plank/siren/test_coverage)[![](https://camo.githubusercontent.com/0f47674dc41731c8177606dbd5c51416147d89f566cb098b6ba7452baa6a46b0/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f706c616e6b2f736972656e3f636f6c6f723d253233353238636666266c6162656c3d6d61696e7461696e61626c696c697479266c6f676f3d636f64652d636c696d617465266c6f676f436f6c6f723d253233666666)](https://codeclimate.com/github/plank/siren/maintainability)

Siren
=====

[](#siren)

Build [mermaid.js](https://mermaid.js.org/) diagrams using php.

Support
-------

[](#support)

This package was developed to support [mermaid.js](https://mermaid.js.org/) 9.4.0. The following diagrams are currently supported, and have their own documentation.

- [Flowchart](docs/flowchart.md)
- [Class Diagram](docs/class-diagram.md)
- [Entitiy Relationship Diagram](docs/erd.md)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require plank/siren
```

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Kurt Friars](https://github.com/kfriars)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within siren, please send an e-mail to . All security vulnerabilities will be promptly addressed.

Check Us Out!
-------------

[](#check-us-out)

[ ![](https://camo.githubusercontent.com/039eee1ba9a2d1d596a7717543932e2bd5408ba5057f3dd50a8558729ce93235/68747470733a2f2f706c616e6b2e636f2f6f70656e2d736f757263652f62616e6e6572)](https://plank.co/open-source/learn-more-image)Plank focuses on impactful solutions that deliver engaging experiences to our clients and their users. We're committed to innovation, inclusivity, and sustainability in the digital space. [Learn more](https://plank.co/open-source/learn-more-link) about our mission to improve the web.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1229d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/108450?v=4)[Plank](/maintainers/Plank)[@plank](https://github.com/plank)

---

Top Contributors

[![kfriars](https://avatars.githubusercontent.com/u/3378675?v=4)](https://github.com/kfriars "kfriars (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

Sirenplank

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/plank-siren/health.svg)

```
[![Health](https://phpackages.com/badges/plank-siren/health.svg)](https://phpackages.com/packages/plank-siren)
```

###  Alternatives

[marvinlabs/laravel-luhn

Luhn algorithm for Laravel

108443.0k](/packages/marvinlabs-laravel-luhn)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
