PHPackages                             veksa/yii2-swagger-ui - 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. veksa/yii2-swagger-ui

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

veksa/yii2-swagger-ui
=====================

Yii2 Swagger UI

v1.0.2(9y ago)23985MITPHPPHP &gt;=5.5.0

Since Nov 22Pushed 9y ago3 watchersCompare

[ Source](https://github.com/veksa/yii2-swagger-ui)[ Packagist](https://packagist.org/packages/veksa/yii2-swagger-ui)[ Docs](https://github.com/veksa/yii2-swagger-ui)[ RSS](/packages/veksa-yii2-swagger-ui/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Yii2 Component for Swagger-UI
=============================

[](#yii2-component-for-swagger-ui)

\##Install

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

Either run

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

```

or add

```
"veksa/yii2-swagger-ui": "~1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

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

```
veksa\swagger\yii2\assets\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](http://petstore.swagger.io/).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3459d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d8639ee8ab3ba54c9fcc54fa4e41a30a235af22579c34680cf5df05549fa3bf?d=identicon)[veksa](/maintainers/veksa)

---

Top Contributors

[![veksa](https://avatars.githubusercontent.com/u/6467881?v=4)](https://github.com/veksa "veksa (3 commits)")

---

Tags

phpswaggeryii2extensioncomponentswagger-ui

### Embed Badge

![Health badge](/badges/veksa-yii2-swagger-ui/health.svg)

```
[![Health](https://phpackages.com/badges/veksa-yii2-swagger-ui/health.svg)](https://phpackages.com/packages/veksa-yii2-swagger-ui)
```

###  Alternatives

[light/yii2-swagger

swagger intergation with yii2

154801.6k4](/packages/light-yii2-swagger)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)[ignatenkovnikita/yii2-swagger

Swagger UI v3 intergation with yii2

128.0k](/packages/ignatenkovnikita-yii2-swagger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
