laravel-docgen maintained by libry-inc
Description
A Laravel tool to auto-generate a document from data, like DB
Author
Last update
2026/08/28 03:09
(dev-main)
License
Downloads
360
Tags
What's laravel-docgen - Laravel Document Generator
This is a library that helps you almost automatically generate documents with data gathered from like a DB schema.
This library uses Laravel but your application doesn't necessarily need to.
You can edit the output with Blade PHP, like below:
↓

Installation
composer require --dev libry-inc/laravel-docgen
artisan vendor:publish --tag=docgen
Usage
Publish and generate a sample document
artisan vendor:publish --tag=docgen.sample
artisan docgen db.sample
Customize
- To change I/O directions, modify config/docgen.php
- To change outputs, modify resources/docgen/...
Contributions
Install
docker buildx bake
docker compose up -d
docker compose exec php composer install
Pre-commit
docker compose exec php composer fixer