Generate beautiful API documentation from your Laravel application
hahadu/laravel-apidoc-generator is a Laravel package for generate beautiful api documentation from your laravel application.
It currently has 0 GitHub stars and 64 downloads on Packagist (latest version v1.0.4).
Install it with composer require hahadu/laravel-apidoc-generator.
Discover more Laravel packages by hahadu
or browse all Laravel packages to compare alternatives.
Last updated
Automatically generate your API documentation from your existing Laravel/Lumen/Dingo routes.
PHP 7.2 and Laravel/Lumen 8.1 or higher are required.
If your application does not meet these requirements, you can check out the 3.x branch for older releases.
composer require hahadu/laravel-apidoc-generator
and
composer dump or composer update
Publish the config file by running:
php artisan vendor:publish --provider="Hahadu\ApiDoc\ApiDocGeneratorServiceProvider" --tag=apidoc-config
This will create an apidoc.php file in your config folder.
composer require mpociot/laravel-apidoc-generator instead.bootstrap/app.php:$app->register(\Hahadu\ApiDoc\ApiDocGeneratorServiceProvider::class);
vendor/mpociot/laravel-apidoc-generator/config/apidoc.php to your project as config/apidoc.php. Then add to your bootstrap/app.php:$app->configure('apidoc');
php artisan apidoc:generate
Check out the documentation at the Beyond Code homepage.
The Laravel API Documentation Generator is free software licensed under the MIT license.