PHPackages                             cleaniquecoders/laravel-db2doc - 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. cleaniquecoders/laravel-db2doc

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

cleaniquecoders/laravel-db2doc
==============================

Laravel Db2Doc generate your database schema documentation easily.

v2.0.0(5y ago)3552[3 PRs](https://github.com/cleaniquecoders/laravel-db2doc/pulls)MITPHPPHP &gt;=7.3

Since Jun 11Pushed 4y agoCompare

[ Source](https://github.com/cleaniquecoders/laravel-db2doc)[ Packagist](https://packagist.org/packages/cleaniquecoders/laravel-db2doc)[ RSS](/packages/cleaniquecoders-laravel-db2doc/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (7)Versions (12)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a953778334fd2b6baeb2ce84b4914abae554be9b9db6e726830f312164ab8f68/68747470733a2f2f7472617669732d63692e6f72672f636c65616e69717565636f646572732f6c61726176656c2d646232646f632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cleaniquecoders/laravel-db2doc) [![Latest Stable Version](https://camo.githubusercontent.com/eaee47cbfa521f53d3c8697fe14553a78cee9f30b586c74e58370824d4920a4a/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6c61726176656c2d646232646f632f762f737461626c65)](https://packagist.org/packages/cleaniquecoders/laravel-db2doc) [![Total Downloads](https://camo.githubusercontent.com/67c7144d9c8e0a4331cf8bd3ba77cf5b0bf282e24b059cb9b9f7df754bd82bad/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6c61726176656c2d646232646f632f646f776e6c6f616473)](https://packagist.org/packages/cleaniquecoders/laravel-db2doc) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/b923f895dff0bca34ba6ccf83a241e3e33c3e46cdc36adc2864b01cc66fb16c7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c65616e69717565636f646572732f6c61726176656c2d646232646f632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cleaniquecoders/laravel-db2doc/?branch=master) [![License](https://camo.githubusercontent.com/20fa5986a3f3a6a068493c5471fdb2261bd27929a818caceae5104d2915ddb23/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6c61726176656c2d646232646f632f6c6963656e7365)](https://packagist.org/packages/cleaniquecoders/laravel-db2doc)

About Your Package
------------------

[](#about-your-package)

Laravel Db2Doc enable you to generate your database schema to markdown or JSON format.

 [![Laravel Db2Doc](laravel-db2doc.png)](laravel-db2doc.png)

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

[](#installation)

1. In order to install `cleaniquecoders/laravel-db2doc` in your Laravel project, just run the *composer require* command from your terminal:

```
$ composer require cleaniquecoders/laravel-db2doc

```

2. Then in your `config/app.php` add the following to the providers array:

```
CleaniqueCoders\LaravelDB2DOC\LaravelDB2DOCServiceProvider::class,
```

3. In the same `config/app.php` add the following to the aliases array:

```
'LaravelDB2DOC' => CleaniqueCoders\LaravelDB2DOC\LaravelDB2DOCFacade::class,
```

Usage
-----

[](#usage)

Run `php artisan db:2doc`, to generate the document in JSON format by default. File generated at `storage/app/db2doc` directory.

Run `php artisan db:2doc --database=sqlite` option to specify which database connection to use.

Run `php artisan db:2doc --format=json` to export output as JSON. Default is in markdown format.

Run `php artisan db:2doc --emoji` to have output as emoji.

Run `php artisan db:2doc --path=path/to/other/output` to have output to other location.

Test
----

[](#test)

To run the test, type `vendor/bin/phpunit` in your terminal.

To have codes coverage, please ensure to install PHP XDebug then run the following command:

```
$ vendor/bin/phpunit -v --coverage-text --colors=never --stderr

```

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

[](#contributing)

Thank you for considering contributing to the `cleaniquecoders/laravel-db2doc`!

### Bug Reports

[](#bug-reports)

To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.

However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.

Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.

Coding Style
------------

[](#coding-style)

`cleaniquecoders/laravel-db2doc` follows the PSR-2 coding standard and the PSR-4 autoloading standard.

You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in `.php_cs`.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 89.7% 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

Every ~102 days

Recently: every ~188 days

Total

9

Last Release

2071d ago

Major Versions

v1.2.0 → v2.0.02020-09-09

PHP version history (3 changes)v1.0.0PHP &gt;=7.1

v1.2.0PHP &gt;=7.2

v2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (35 commits)")[![ilyasfoo](https://avatars.githubusercontent.com/u/3747241?v=4)](https://github.com/ilyasfoo "ilyasfoo (4 commits)")

---

Tags

databasedocumentationmarkdownlaravelpackagedatabasedocumentation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cleaniquecoders-laravel-db2doc/health.svg)

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

###  Alternatives

[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[awssat/laravel-sync-migration

Laravel tool helps to sync migrations without refreshing the database

10923.2k](/packages/awssat-laravel-sync-migration)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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