artarts36/laravel-env-documentator

Laravel Environment Documentator

0.1.1 2022-01-25 01:52 UTC

This package is auto-updated.

Last update: 2024-12-25 08:24:03 UTC


README

This package provides generate documentation about your app environment.

See example on default laravel environment

✔ Installation

Run commands:

  • composer require --dev artarts36/laravel-env-documentator
  • php artisan vendor:publish --provider="ArtARTs36\LaravelEnvDocumentator\Providers\EnvDocumentatorServiceProvider" --tag=config

☆ Usage

This package provides one console command.

» Use in Local

Run command for generate by default (.env.example): php artisan env:doc docs/environment.md

Or: php artisan env:doc docs/environment.md --env-path=specify.env

» Use in CI

Setup git settings in config file env_documentator.php

Run command for generate docs by default (.env.example): php artisan env:doc docs/environment.md --ci

Or: php artisan env:doc docs/environment.md --env-path=specify.env --ci