origrata/yii2-ajaxcrud 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

origrata/yii2-ajaxcrud

Composer 安装命令:

composer require origrata/yii2-ajaxcrud

包简介

Gii CRUD template for Single Page Ajax Administration for yii2

README 文档

README

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 origrata/yii2-ajaxcrud "@dev"

or add

"origrata/yii2-ajaxcrud": "^2.1"

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::class,      
    ]       
]

Note: Font Awesome icons not required! See Bootstrap icons!

You can then access Gii through the following URL:

in param.php file add

'bsVersion' => '5.x',

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

and you can see Ajax CRUD Generator

Lets contibute to keep it updated and make it useful for all friends.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-04-16