定制 ruzk/gii-modal-modern 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ruzk/gii-modal-modern

最新稳定版本:1.1

Composer 安装命令:

composer require ruzk/gii-modal-modern

包简介

Yii2 gii modal

README 文档

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.

统计信息

  • 总下载量: 30
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-20