PHPackages                             globalart/yii2-swagger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. globalart/yii2-swagger

ActiveYii2-extension[API Development](/categories/api)

globalart/yii2-swagger
======================

Swagger Documentation Generator for Yii2 Framework

3137PHP

Since Apr 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/GlobalArtInc/yii2-swagger)[ Packagist](https://packagist.org/packages/globalart/yii2-swagger)[ RSS](/packages/globalart-yii2-swagger/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Swagger Documentation Generator for Yii2 Framework
==================================================

[](#swagger-documentation-generator-for-yii2-framework)

Swagger/OpenAPI Documentation Generator for Yii2 Framework.

[![Latest Stable Version](https://camo.githubusercontent.com/0428535bbc9cb31d8f7c42fc511e733d194610286c60fe811dfce356d89f56c4/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c6172742f796969322d737761676765722f762f737461626c65)](https://packagist.org/packages/globalart/yii2-swagger)[![Total Downloads](https://camo.githubusercontent.com/e917a0f4a93bd6d72ae91cfa889fb38d587c76157678e9f625e3c89eda1f75f3/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c6172742f796969322d737761676765722f646f776e6c6f616473)](https://packagist.org/packages/globalart/yii2-swagger)[![License](https://camo.githubusercontent.com/2562f1ae8af33580c82eb3c8e9d760cd3ee52690f20e3b218671aba93d4ae024/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c6172742f796969322d737761676765722f6c6963656e7365)](https://packagist.org/packages/globalart/yii2-swagger)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist globalart/yii2-swagger "*"

```

or add

```
"globalart/yii2-swagger": "*"

```

to the require section of your composer.json.

Configuration
-------------

[](#configuration)

You need to configure two actions as follows:

```
