PHPackages                             yanzhen0610/laravel-schema-markdown - 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. yanzhen0610/laravel-schema-markdown

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

yanzhen0610/laravel-schema-markdown
===================================

Make descriptions of schema with markdown for Laravel migrations.

1.4.5(6y ago)1572MITPHPCI failing

Since Feb 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yanzhen0610/laravel-schema-markdown)[ Packagist](https://packagist.org/packages/yanzhen0610/laravel-schema-markdown)[ RSS](/packages/yanzhen0610-laravel-schema-markdown/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (18)Used By (0)

Laravel Schema Markdown
=======================

[](#laravel-schema-markdown)

[![Latest Stable Version](https://camo.githubusercontent.com/36965d8cea0a1f91f29c4fbd6b9801513bc641c3048151da14f748806d614794/68747470733a2f2f706f7365722e707567782e6f72672f79616e7a68656e303631302f6c61726176656c2d736368656d612d6d61726b646f776e2f762f737461626c65)](https://packagist.org/packages/yanzhen0610/laravel-schema-markdown) [![Total Downloads](https://camo.githubusercontent.com/cfb6faa35becc8154b4dfc20e39be9ab4fa3eb30859ea0098d11c59ba7a3090e/68747470733a2f2f706f7365722e707567782e6f72672f79616e7a68656e303631302f6c61726176656c2d736368656d612d6d61726b646f776e2f646f776e6c6f616473)](https://packagist.org/packages/yanzhen0610/laravel-schema-markdown) [![Latest Unstable Version](https://camo.githubusercontent.com/ea95df0c08e78a76caa1689a2b746c3c9a59254d9add91574746e1a6b05a5163/68747470733a2f2f706f7365722e707567782e6f72672f79616e7a68656e303631302f6c61726176656c2d736368656d612d6d61726b646f776e2f762f756e737461626c65)](https://packagist.org/packages/yanzhen0610/laravel-schema-markdown) [![License](https://camo.githubusercontent.com/df61cc46210c58cdc34200600fa8cfac95dd07774481700ecc5277bd5b5551e6/68747470733a2f2f706f7365722e707567782e6f72672f79616e7a68656e303631302f6c61726176656c2d736368656d612d6d61726b646f776e2f6c6963656e7365)](https://packagist.org/packages/yanzhen0610/laravel-schema-markdown) [![test](https://github.com/yanzhen0610/laravel-schema-markdown/workflows/test/badge.svg)](https://github.com/yanzhen0610/laravel-schema-markdown/workflows/test/badge.svg) [![codecov](https://camo.githubusercontent.com/20f5a6cb5337f75acb4a91cc6975a136a1191413ac192ddb5e636ae0f16ac58f/68747470733a2f2f636f6465636f762e696f2f67682f79616e7a68656e303631302f6c61726176656c2d736368656d612d6d61726b646f776e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/yanzhen0610/laravel-schema-markdown)

Install
-------

[](#install)

```
composer require --dev yanzhen0610/laravel-schema-markdown
```

Run
---

[](#run)

In your Laravel project root

```
php artisan make:schema-md
```

and the schema description will be generated at `./schema.md`.

Usage
-----

[](#usage)

```
$ php artisan make:schema-md --help

Description:
  Make a markdown documentations of migration files

Usage:
  make:schema-md [options]

Options:
      --force                Force the operation to run when in production
      --database[=DATABASE]  The database connection to use [default: "schema-markdown"]
      --path[=PATH]          The path(s) to the migrations files to be executed (multiple values allowed)
      --realpath             Indicate any provided migration file paths are pre-resolved absolute paths
      --step                 Force the migrations to be run so they can be rolled back individually
  -o, --output[=OUTPUT]      The output path for the generated markdown [default: "./schema.md"]
  -h, --help                 Display this help message
  -q, --quiet                Do not output any message
  -V, --version              Display this application version
      --ansi                 Force ANSI output
      --no-ansi              Disable ANSI output
  -n, --no-interaction       Do not ask any interactive question
      --env[=ENV]            The environment the command should run under
  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

```

Example
-------

[](#example)

[schema.example.md](./schema.example.md) ([From ladybirdweb/faveo-helpdesk](https://github.com/ladybirdweb/faveo-helpdesk/tree/43cec59e62a9bc1fd69f6127c324f8daf12816eb/database/migrations))

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

16

Last Release

2271d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d827acf0b2849946cf4e711090202a81cc21ed4278330a0ac034956bc0fd987?d=identicon)[yanzhen0610](/maintainers/yanzhen0610)

---

Top Contributors

[![yz89122](https://avatars.githubusercontent.com/u/24453597?v=4)](https://github.com/yz89122 "yz89122 (61 commits)")

---

Tags

laravelschemadatabaselibrarymysqlsqliteartisanmarkdownmigrationscommand

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yanzhen0610-laravel-schema-markdown/health.svg)

```
[![Health](https://phpackages.com/badges/yanzhen0610-laravel-schema-markdown/health.svg)](https://phpackages.com/packages/yanzhen0610-laravel-schema-markdown)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[nwidart/db-exporter

Export your database quickly and easily as a Laravel Migration and all the data as a Seeder class.

37839.1k](/packages/nwidart-db-exporter)[elimuswift/db-exporter

Export your database quickly and easily as a Laravel Migration and all the data as a Seeder class.

364.7k](/packages/elimuswift-db-exporter)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

101.6k](/packages/ramadan-easy-model)

PHPackages © 2026

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