/yii2-ajaxcrud-bs4

Previously https://github.com/johnitvn/yii2-ajaxcrud

Primary LanguagePHP

yii2-ajaxcrud

This is not my work, this repository created by johitvn, but because I (and maybe some other people) need to optimize this Gii Template with BS4, so I create new repository to accomodate it. If johitvn already merge my PR, I will delete this repository.

Latest Stable Version License Total Downloads

Gii CRUD template for Single Page Ajax Administration for yii2

yii2 ajaxcrud extension screenshot

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 hoaaah/yii2-ajaxcrud-bs4 "*"

or add

"hoaaah/yii2-ajaxcrud-bs4": "*"

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'
    ]       
]

You can then access Gii through the following URL:

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

and you can see Ajax CRUD Generator

Other Links Free download wordpress theme Free download html template