Search by

conquer / gii-modal

borodulin

Yii2 gii modal

Package info

github.com/borodulin/yii2-gii-modal

Type:yii2-extension

pkg:composer/conquer/gii-modal

Statistics

Installs: 14 235

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.2.0 2026-11-03 03:43 UTC

This package is auto-updated.

Last update: 2026-11-03 03:47:46 UTC


README

Latest Version Total Downloads License

Description

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

Requirements

  • PHP 7.4 or 8.x
  • Yii 2.0

Installation

Install the extension via Composer:

composer require conquer/gii-modal:^1.2

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 for details.