Looking to hire Laravel developers? Try LaraJobs

laravel-db-doc-generator maintained by aceraven777

Description
Database documentation generator for laravel
Author
Churakov Mike
Last update
2023/02/20 09:38 (dev-master)
License
Links
Downloads
1

Comments
comments powered by Disqus

Laravel Database Documentation Generator

Maintainability StyleCI Latest Stable Version License

Requirements

  • laravel 5.5+
  • Tokenizer Extension

Getting started

Installation

The package is available on packagist.

composer require churakovmike/laravel-db-doc-generator

or

php composer.phar require churakovmike/laravel-db-doc-generator

Register service provider in config/app.php

ChurakovMike\DbDocumentor\DbDocumentorServiceProvider::class,       

Usage

Run in from command-line with next command

php artisan db-doc:generate

By default database documentation will be generate in ./public/db-doc/ If you need to change output destination, run command with --output argument

php artisan db-doc:generate --output=path/to/your/destination

When running DbDocumentor there are some command-line options

  1. --output, specifies the directory to output generated documentation.
  2. --model-path, specifies the directory for searching Eloquent model files.
  3. --excluded-dir, specifies the directories to ignore during the search.
  4. --lang, specifies the documentation language.