Looking to hire Laravel developers? Try LaraJobs

laravel-documentation-commands maintained by thicha0

Description
A command to generate a documentation of commands of your project
Last update
2024/11/06 14:10 (dev-main)
License
Links
Downloads
653

Comments
comments powered by Disqus

laravel-documentation-commands

This package adds a laravel command that allows you to generate a HTML file that lists all your commands.

https://packagist.org/packages/thicha0/laravel-documentation-commands

How to use ?

composer require thicha0/laravel-documentation-commands

Add the ServiceProvider to your config/app.php

'providers' => [
  ...
      Thicha0\LaravelDocumentationCommands\LaravelDocumentationCommandsServiceProvider::class,
  ...
]

The new command php artisan generate:documentation-commands should appear in the php artisan list command.

When launching the command, the HTML file will be generated to public/documentation-commands.html.

Features

  • Show signature and description of command
  • Group commands by directory
  • Ignores abstract commands
  • Show if command is called a cron in Laravel Scheduler