wsl/gii

The Gii extension for the Yii framework

Maintainers

Details

github.com/wslys/wslgii

Source

Issues

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.1.0 2021-05-24 15:26 UTC

This package is auto-updated.

Last update: 2024-04-24 23:01:26 UTC


README

993323

Gii Extension for Yii 2


生成带swagger注释

Installation

The preferred way to install this extension is through composer.

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

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

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