johnitvn/yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2

Maintainers

👁 johnitvn

Package info

github.com/johnitvn/yii2-ajaxcrud

Type:yii2-extension

pkg:composer/johnitvn/yii2-ajaxcrud

Statistics

Installs: 215 527

Dependents: 20

Suggesters: 0

Stars: 97

Open Issues: 42

2.1.3 2016-03-21 10:56 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Apache-2.0 563c2d57a13fc307c2ad2f9e69427581568e26fd

databasetemplateajaxextensioncrudyii2gii

This package is auto-updated.

Last update: 2026-06-05 22:50:23 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 johnitvn/yii2-ajaxcrud "@dev"

or add

"johnitvn/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,
 'bsVersion' => '4.x', // or '3.x'
 // 'downloadAction' => 'gridview/export/download',
 // 'i18n' => [],
 // 'exportEncryptSalt' => 'tG85vd1',
 ] 
]

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

You can then access Gii through the following URL:

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.