gilbertchiao/laravel-db-schema-doc

A Laravel package to generate database schema documentation.

dev-main 2025-07-06 14:35 UTC

This package is auto-updated.

Last update: 2025-07-06 14:37:12 UTC


README

This package provides a simple Artisan command to generate Markdown documentation for your Laravel application's database schema.

Installation

composer require gilbertchiao/laravel-db-schema-doc

Usage

php artisan db:generate-schema-doc

This will generate a schema.md file in your project's root directory.

Options

  • --path: Specify a different output path for the documentation file.
  • --include-view-sql: Include the SQL definition for views in the documentation.

License

MIT