ruzk / gii-modal-modern
Yii2 gii modal
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Type:yii2-extension
Requires
- php: >=5.4.0
- yiisoft/yii2-gii: ~2.0
This package is not auto-updated.
Last update: 2024-10-30 18:29:16 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.
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.