定制 jinowom/yii2wajaxcrud 二次开发

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

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

jinowom/yii2wajaxcrud

最新稳定版本:v1.0.2

Composer 安装命令:

composer require jinowom/yii2wajaxcrud

包简介

Gii CRUD template for Single Page Ajax Administration for yii2

README 文档

README

Latest Stable Version License Total Downloads

Gii CRUD template for Single Page Ajax Administration for yii2

  • Requires yiisoft/yii2-bootstrap5:"^2.0.4"
  • Requires yiisoft/yii2-bootstrap:"^2.0.0"

Features

  • Create, read, update, delete in onpage with Ajax
  • Bulk delete suport
  • Pjax widget suport
  • Export function(pdf,html,text,csv,excel,json)
  • Editable suport
  • Daterange suport

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist jinowom/yii2wajaxcrud "^1.0.0"
or
php composer.phar require --prefer-dist jinowom/yii2wajaxcrud "^1.0.2"

or add

"jinowom/yii2wajaxcrud": "^1.0.0"
or
"jinowom/yii2wajaxcrud": "^1.0.2"

to the require section of your composer.json file.

Usage

For first you must enable Gii module Read more about Gii code generation tool

Because this extension used kartik-v/yii2-grid extensions so we must config gridview module before

Let 's add into modules config in your main config file

'modules' => [
    'gridview' =>  [
        'class' => '\kartik\grid\Module'
    ]       
]

gii config like

$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
];
$config['modules']['gii']['generators']['wodrowmodel'] = [
    'class' => \jinowom\wajaxcrud\generators\model\Generator::class,
    'showName' => "YOUR MODEL GENERATOR",
];
$config['modules']['gii']['generators']['wodrowwajaxcrud'] = [
    'class' => \jinowom\wajaxcrud\generators\crud\Generator::class,
    'showName' => "YOUR AJAX CRUD GENERATOR",
];

You can then access Gii through the following URL:

http://localhost/path/to/index.php?r=gii

and you can see YOUR AJAX CRUD GENERATOR

exp1 exp2 exp3

Others

#只对github.com
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080

感谢

#wodrow <wodrow451611cv@gmail.com>
#Kartik Visweswaran <kartikv2@gmail.com>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2025-02-14