Automatically generate api documentation for Laravel without writing annotations.
| Lang | Version |
|---|---|
| PHP | 7.4 or 8.0 |
| Laravel | 6.* or 8.* |
You can install the package via composer:
composer require rakutentech/laravel-request-docs --devYou can publish the config file with:
php artisan vendor:publish --tag=request-docs-configView in the browser on /request-docs/
or generate a static HTML
php artisan lrd:generateDocs HTML is generated inside docs/.
In order for this plugin to work, you need to follow the design pattern by injecting the request class inside the controller. For extra documentation you can use markdown inside your controller method as well.
Generated API documentation
Try API
./vendor/bin/phpunit- Initial Release


