Laravel API's Docs setup
Step 1: composer require dedoc/scramble
Step 2: Publishing config. Optionally, you can publish the package’s config file:
php artisan vendor:publish --provider="Dedoc\Scramble\ScrambleServiceProvider" --tag="scramble-config"
Step 3: check the endpoint http://127.0.0.1:8000/docs/api
more info: check here
Comments
Post a Comment
Thank you :)