Generate API documentation for humans from your Laravel/Lumen/Dingo codebase. Here's what the output looks like.
Coming from mpociot/laravel-apidoc-generator? Check out what's new and the migration guide. Otherwise, check out the Getting Started guide.
Note: PHP 7.2 and Laravel 5.8 or higher are required.
composer require knuckleswtf/scribe
Publish the config file by running:
php artisan vendor:publish --provider="Knuckles\Scribe\ScribeServiceProvider" --tag=scribe-config
This will create a scribe.php
file in your config
folder.
bootstrap/app.php
:$app->register(\Knuckles\Scribe\ScribeServiceProvider::class);
vendor/knuckleswtf/scribe/config/scribe.php
to your project as config/scribe.php
. Then add to your bootstrap/app.php
:$app->configure('scribe');