dmk-design/yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2

Installs: 77

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 113

Open Issues: 0

Type:yii2-extension

v2.1.12 2024-04-16 23:12 UTC

README

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 dmk-design/yii2-ajaxcrud "*"

or add

"dmk-design/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

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