conquer / gii-modal
Yii2 gii modal
1.2.0
2026-11-03 03:43 UTC
Requires
- php: ^7.4 || ^8.0
- yiisoft/yii2-gii: ~2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-03 03:47:46 UTC
README
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.