amilna/yii2-yap

Yii Add-ons & Plugins

Maintainers

Details

github.com/amilna/yap

Source

Issues

Installs: 635

Dependents: 4

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:JavaScript

Type:yii2-extension

0.0.1 2015-03-03 03:16 UTC

README

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'
                ]
            ],
        ]
    ];