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(2y ago)4278↓100%1MITPHP

Since Jun 21Pushed 2y 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 1mo 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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

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

1054d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/103fe444a19559b9470aca53d1694b4c3f37119f32b26ae94d72825d221eacc0?d=identicon)[mahdiaslami](/maintainers/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.8k52.4M9.4k](/packages/illuminate-database)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[illuminatech/config

Provides support for Laravel application runtime configuration managed in persistent storage

14921.0k1](/packages/illuminatech-config)

PHPackages © 2026

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