LaravelPackages.net
Acme Inc.
Toggle sidebar
westhack/laravel-swagger

Laravel swagger ui

17
1
v1.0.2
About westhack/laravel-swagger

westhack/laravel-swagger is a Laravel package for laravel swagger ui. It currently has 1 GitHub stars and 17 downloads on Packagist (latest version v1.0.2). Install it with composer require westhack/laravel-swagger. Discover more Laravel packages by westhack or browse all Laravel packages to compare alternatives.

Last updated

laravel-swagger | Swagger UI Package

About

This is the Swagger 3.0 ui

Requirements

Installation

  1. From your projects root folder in terminal run:
    composer require rachidlaasri/laravel-installer
  1. 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 under providers with the following:

	'providers' => [
	    \Westhack\LaravelSwagger\Providers\SwaggerServiceProvider::class,
	];
  1. 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

Star History Chart