laravel-swagger maintained by westhack
laravel-swagger | Swagger UI Package
About
This is the Swagger 3.0 ui
Requirements
Installation
- From your projects root folder in terminal run:
composer require rachidlaasri/laravel-installer
- Register the package
-
Laravel 5.5 and up Uses package auto discovery feature, no need to edit the
config/app.phpfile. -
Laravel 5.4 and below Register the package with laravel in
config/app.phpunderproviderswith the following:
'providers' => [
\Westhack\LaravelSwagger\Providers\SwaggerServiceProvider::class,
];
- Publish the packages views, config file, assets files by running the following from your projects root folder:
php artisan vendor:publish --provider="Westhack\LaravelSwagger\Providers\SwaggerServiceProvider"
Routes
/swagger/api/swagger
License
MIT license