Generate beautiful API documentation from your Laravel application
toanld/laravel-apidoc-generator is a Laravel package for generate beautiful api documentation from your laravel application.
It currently has 0 GitHub stars and 5 downloads on Packagist (latest version 4.0.2).
Install it with composer require toanld/laravel-apidoc-generator.
Discover more Laravel packages by toanld
or browse all Laravel packages to compare alternatives.
Last updated
Automatically generate your API documentation from your existing Laravel/Lumen/Dingo routes. Here's what the output looks like.
php artisan apidoc:generate
PHP 7.2 and Laravel/Lumen 5.7 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 --dev mpociot/laravel-apidoc-generator
Publish the config file by running:
php artisan vendor:publish --provider="Mpociot\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(\Mpociot\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');
Check out the documentation at ReadTheDocs. Don't forget to check out the migration guide if you're coming from v3 to v4.
The Laravel API Documentation Generator is free software licensed under the MIT license.