PHPackages                             wsl/gii - 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. [Framework](/categories/framework)
4. /
5. wsl/gii

ActiveYii2-extension[Framework](/categories/framework)

wsl/gii
=======

The Gii extension for the Yii framework

v1.1.0(4y ago)05BSD-3-ClausePHP

Since May 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wslys/wslgii)[ Packagist](https://packagist.org/packages/wsl/gii)[ RSS](/packages/wsl-gii/feed)WikiDiscussions main Synced 1w ago

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

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

Gii Extension for Yii 2
=======================

[](#gii-extension-for-yii-2)

生成带swagger注释

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

[](#installation)

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

Either run

```
php composer.phar require --dev --prefer-dist wsl/wslgii

```

or add

```
"wsl/wslgii": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
    'bootstrap' => ['gii'],
    'modules' => [
        'gii' => [
            'class' => 'wsl\gii\Module',
        ],
        // ...
    ],
    // ...
];
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1820d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17759677?v=4)[wslys](/maintainers/wslys)[@wslys](https://github.com/wslys)

---

Tags

code generatoryii2gii

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wsl-gii/health.svg)

```
[![Health](https://phpackages.com/badges/wsl-gii/health.svg)](https://phpackages.com/packages/wsl-gii)
```

###  Alternatives

[yiisoft/yii2-gii

The Gii extension for the Yii framework

21118.4M613](/packages/yiisoft-yii2-gii)

PHPackages © 2026

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