conquer/gii-modal Yii2 gii modal

extensiongiimodal

Modal CRUD Gii templates for Yii2 framework

Description

This generator generates, controller and views that allow you to edit and view the data in the modal windows. Uses the Bootstrap Modals.

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require conquer/gii-modal "*"

or add

"conquer/gii-modal": "*"

to the require section of your composer.json file.

Usage

Add to config file:

if (YII_ENV_DEV) {

    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',      
        'allowedIPs' => ['127.0.0.1', '::1'],  
        'generators' => [
            'modal_crud' => [ // generator name
                'class' => 'conquer\gii\templates\crud\Generator', // generator class
            ]
        ],
    ]; 
}

License

conquer/gii-modal is released under the MIT License. See the bundled LICENSE.md for details.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

  • 1.1.128 December 2015
  • 1.124 September 2015

Comments



1.1.1 is the latest of 2 releases



MIT license
Stats
0 github stars & 2 github forks
14 downloads in the last day
158 downloads in the last 30 days
1909 total downloads