artarts36/laravel-schedule-documentator is a Laravel package for laravel schedule documentator.
It currently has 2 GitHub stars and 40 downloads on Packagist (latest version 0.2.2).
Install it with composer require artarts36/laravel-schedule-documentator.
Discover more Laravel packages by artarts36
or browse all Laravel packages to compare alternatives.
Last updated
This package provides automatic generation of documentation for your app schedule
Run commands:
composer require artarts36/laravel-schedule-documentator
php artisan vendor:publish --provider="ArtARTs36\LaravelScheduleDocumentator\Providers\LaravelScheduleDocumentatorProvider" --tag=config
$generator = app(\ArtARTs36\LaravelScheduleDocumentator\Services\DocGenerateHandler::class);
$generator->handle('md', '/path/to/file.md');
$generator->handle('json', '/path/to/file.json');
$generator->handle('csv', '/path/to/file.csv');
| Command | Description | | ------------ | ------------ | | artisan schedule:doc {format} {path} | Generate documentation |
| Format | Documentator Class | | ------------ | ------------ | | Json | ArtARTs36\LaravelScheduleDocumentator\Documentators\JsonDocumentator | | Csv | ArtARTs36\LaravelScheduleDocumentator\Documentators\CsvDocumentator | | Md | ArtARTs36\LaravelScheduleDocumentator\Documentators\MarkdownDocumentator |
composer require artarts36/laravel-schedule-documentator [
'ext_documentator' => [
// other documentators
'zip' => MyZipDocumentator::class,
],
]
Must fill property description in console commands for full documentation.
Use the PHP CS Fixer rule PhpCsFixerGoodFixers/laravel_command_no_empty_description to prevent undescribed commands from entering your repository.