Laravel Docs Generator is an effortless API documentation tool for Laravel applications & you can use it as a Swagger. With this package, You can automatically generate API documentation for Laravel without writing annotations.
You can install the package via composer:
composer require rakutentech/laravel-request-docs --dev
You can publish the
config file with:
php artisan vendor:publish --tag=request-docs-config
View in the browser on
or generate a static HTML
php artisan lrd:generate
Docs HTML is generated inside
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
For more details and source code, you can visit Github.
Published at : 31-01-2022
I am a highly results-driven professional with 12+ years of collective experience in the grounds of web application development especially in laravel, native android application development in java, and desktop application development in the dot net framework. Now managing a team of expert developers at Codebrisk.