Skip to content

xgbnl/laravel-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel Swagger

install

composer require xgbnl/laravel-swagger

mount service

Edit App\Providers\AppServiceProvider

use Xgbnl\LaravelSwagger\SwaggerServiceProvider;

  public function register()
  {
    // allow local env access
        if ($this->app->isLocal()) {
            $this->app->register(SwaggerServiceProvider::class);
        }
  }

publish

php artisan swagger:publish

access

laravel.test/api/docs

You must assigned app url.

APP_URL=http://laravel.test

About

Laravel Api Document Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published