You can install the package via composer.
composer require onetechasia/laravel-export-docs
This package requires the graphviz
tool.
You can install Graphviz on MacOS via homebrew:
brew install graphviz
For using chat GPT translate document
Add to .env: OPENAI_API_KEY=sk-xxxxx
Export database diagram
php artisan docs:diagram
Check file in storage/app/export/database/
Export database document
php artisan docs:database
Check file in storage/app/export/database/
Export API document not release yet
php artisan docs:api-spec --collection=url-collection-postman-required --environment=path/postman-environment.json
Note that: postman enviroment must include token login Check file in storage/app/export/api/