rgl/yii2-gii-api

Generator api rest for Yii 2

Installs: 2 087

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:yii2-extension

v2.1.0 2022-07-29 16:22 UTC

This package is auto-updated.

Last update: 2024-11-29 06:23:17 UTC


README

Generator api rest for Yii 2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist rgl/yii2-gii-api "*"

or add

"rgl/yii2-gii-api": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

$config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'as GiiBehaviors' => \rgl\gii\GiiBehaviors::class,
];