gilbertchiao / laravel-db-schema-doc
A Laravel package to generate database schema documentation.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/gilbertchiao/laravel-db-schema-doc
Requires
- php: ^8.0
- illuminate/console: ^8.0|^9.0|^10.0|^11.0
- illuminate/database: ^8.0|^9.0|^10.0|^11.0
- illuminate/filesystem: ^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
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.