callmez/yii2-ajaxcrud
最新稳定版本:1.0.4
Composer 安装命令:
composer require callmez/yii2-ajaxcrud
包简介
单页AJAX-CRUD GII模板生成器
README 文档
README
Gii CRUD template for Single Page Ajax Administration for yii2
Features
- Create, read, update, delete in onpage with Ajax
- Bulk delete suport
- Pjax widget suport
- Export function(pdf,html,text,csv,excel,json)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist callmez/yii2-ajaxcrud "*"
or add
"callmez/yii2-ajaxcrud": "*"
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
Edit modules config in your main config file
'modules' => [ ... 'gridview' => [ 'class' => 'kartik\grid\Module' ], 'gii' => [ ... 'generators' => [ ... 'ajaxcrud' => 'callmez\ajaxcrud\generators\Generator' ] ] ]
You can then access Gii through the following URL:
http://localhost/path/to/index.php?r=gii
and you can see Ajax CRUD Generator
Contributing to this project
Anyone and everyone is welcome to contribute.
License
yii2-ajaxcrud is released under the Apache-2.0.
Versions History
Version 1.0.4
- Code format, The generate code looks good now.
Version 1.0.3
- Separate assets to yii2-ajaxcrud-assets
Version 1.0.2
- Clean template for better output
Version 1.0.1
- Fix bug: Invalid icon for fullscreen button
Version 1.0.0
- Initial version
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-07-01