Skip to content

drdim/yii2-swagger-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Component for Swagger-UI

##Install

  1. The preferred way to install this extension is through composer.

Either run

php composer.phar require  drdim/yii2-swagger-ui "~1.0"

or add

"drdim/yii2-swagger-ui": "~1.0"

to the require section of your composer.json file.

Usage

Once the extension is installed, you can register the Swagger UI assets in your application by doing:

Drdim\Yii\Swagger\SwaggerUiAsset::register($this);

A complete layout structure is available in the src\views directory for a complete working Swagger UI interface like their Pet Store.

About

Yii2 Component for Swagger-UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%