amilna/yii2-yap Yii Add-ons & Plugins

extensionpluginsaddons

YAP

Yii2 Add-ons & Plugins

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist amilna/yii2-yap "*"

or add

"amilna/yii2-yap": "*"

to the require section of your composer.json file.

Available widgets:

  1. GridView, a grid view that groups rows by any column(s). Combination of 2amigos/GroupGridView and kartik-v/yii2-grid

  2. SequenceJs, a widget to renders a Sequence JS. More information see amilna/yii2-sequence-widget

Also include alternative gii template. To use it, add following line to your config (main-local.php):

$config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'generators' => [
            'crud' => [
                'class' => 'amilna\yap\gii\crud\Generator',
                'templates' => [
                'default' => '@yii/gii/generators/crud/default',
                'amilna' => '@amilna/yap/gii/crud/default'
                ]
            ],
            'model' => [
                'class' => 'amilna\yap\gii\model\Generator',
                'templates' => [
                'default' => '@yii/gii/generators/model/default',
                'amilna' => '@amilna/yap/gii/model/default'
                ]
            ],
        ]
    ];

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.1 is the latest of 2 releases



BSD-3-Clause license
Stats
0 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
725 total downloads