westhack / laravel-swagger
Laravel swagger ui
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/westhack/laravel-swagger
Requires
- php: >=7.0.0
- illuminate/support: ^5.1
- zircote/swagger-php: ^3.0
This package is auto-updated.
Last update: 2025-09-29 02:14:46 UTC
README
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.php
file. -
Laravel 5.4 and below Register the package with laravel in
config/app.php
underproviders
with 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