PHPackages                             mahdiaslami/laravel-mermaid - 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. [Database &amp; ORM](/categories/database)
4. /
5. mahdiaslami/laravel-mermaid

ActiveLibrary[Database &amp; ORM](/categories/database)

mahdiaslami/laravel-mermaid
===========================

Create ER diagram based on the database by MermaidJS

v0.1.1(3y ago)32781MITPHP

Since Jun 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mahdiaslami/laravel-mermaid)[ Packagist](https://packagist.org/packages/mahdiaslami/laravel-mermaid)[ Docs](https://github.com/mahdyaslami/laravel-mermaid)[ RSS](/packages/mahdiaslami-laravel-mermaid/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

Laravel Mermaid
===============

[](#laravel-mermaid)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a59f4614e25fcef50bf2187534eeee0686d0a3de57a1e799ebd626cbeeb3e1b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6168646961736c616d692f6c61726176656c2d6d65726d6169642e737667)](https://packagist.org/packages/mahdiaslami/laravel-mermaid)[![Total Downloads](https://camo.githubusercontent.com/9ae38d2a8ef3e2a61e981f3a1299366b654cc648a3c6a789e6cca22b375a1f51/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6168646961736c616d692f6c61726176656c2d6d65726d6169642e737667)](https://packagist.org/packages/mahdiaslami/laravel-mermaid)

Create ER diagram based on the database by MermaidJS

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

[](#installation)

Via Composer

```
$ composer require mahdiaslami/laravel-mermaid
```

Usage
-----

[](#usage)

In your project workspace run `php artisan mermaid`, this command will show the er diagram code related to your database.

If you want to have link to mermaid live editor run `php artisan mermaid --link`.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- \[Mahdi Aslami Khavari\]\[\]
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

Every ~2 days

Total

2

Last Release

1099d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19308725?v=4)[Mahdi Aslami Khavari](/maintainers/mahdiaslami)[@mahdiaslami](https://github.com/mahdiaslami)

---

Tags

laravelmermaidjser diagram

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/mahdiaslami-laravel-mermaid/health.svg)

```
[![Health](https://phpackages.com/badges/mahdiaslami-laravel-mermaid/health.svg)](https://phpackages.com/packages/mahdiaslami-laravel-mermaid)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k54.1M11.1k](/packages/illuminate-database)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8385.5M96](/packages/laravel-doctrine-orm)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k29.9M42](/packages/kirschbaum-development-eloquent-power-joins)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8723.1M23](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.4M2](/packages/glushkovds-phpclickhouse-laravel)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)

PHPackages © 2026

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