- composer require "darkaonline/l5-swagger"
- open your config/app.php and add this line: L5Swagger\L5SwaggerServiceProvider::class
- php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
- Connect Database.
- Run php artisan migrate:fresh --seed
- php artisan l5-swagger:generate