PHPackages                             thisfx-backstage/yii2-ajaxcrud-bs4 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. thisfx-backstage/yii2-ajaxcrud-bs4

ActiveYii2-extension[Database &amp; ORM](/categories/database)

thisfx-backstage/yii2-ajaxcrud-bs4
==================================

Gii CRUD template for Single Page Ajax Administration for yii2

v1.0(2y ago)01Apache-2.0PHP

Since Jun 12Pushed 2y agoCompare

[ Source](https://github.com/thisfx-backstage/yii2-ajaxcrud-bs4)[ Packagist](https://packagist.org/packages/thisfx-backstage/yii2-ajaxcrud-bs4)[ RSS](/packages/thisfx-backstage-yii2-ajaxcrud-bs4/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

yii2-ajaxcrud-bs4
=================

[](#yii2-ajaxcrud-bs4)

Original work by [johitvn](https://github.com/johnitvn/yii2-ajaxcrud).

Forked from [biladina](https://github.com/biladina/yii2-ajaxcrud-bs4).

But we need to work with Bootstrap 4, so we create this repository. If [johitvn](https://github.com/johnitvn/yii2-ajaxcrud) update his repo, we will delete this repository.

[![Latest Stable Version](https://camo.githubusercontent.com/c95494b16674229bb1e3c6344d406e106566abd220d3e7a9080c370deb297139/68747470733a2f2f706f7365722e707567782e6f72672f6a6f686e6974766e2f796969322d616a6178637275642f762f737461626c65)](https://packagist.org/packages/johnitvn/yii2-ajaxcrud)[![License](https://camo.githubusercontent.com/3cf359d4671848378b675a237e4d5ab36b5476d7a886eeeef3916afb7d775f0a/68747470733a2f2f706f7365722e707567782e6f72672f6a6f686e6974766e2f796969322d616a6178637275642f6c6963656e7365)](https://packagist.org/packages/johnitvn/yii2-ajaxcrud)[![Total Downloads](https://camo.githubusercontent.com/e9f7bdbd46d9e8a528025c31a4a644a1c05cc3f2255ba89256751889a6adc96d/68747470733a2f2f706f7365722e707567782e6f72672f6a6f686e6974766e2f796969322d616a6178637275642f646f776e6c6f616473)](https://packagist.org/packages/johnitvn/yii2-ajaxcrud)

Gii CRUD template for Single Page Ajax Administration for yii2

Features
--------

[](#features)

- Create, read, update, delete in onpage with Ajax
- Bulk delete suport
- Pjax widget suport
- Export function(pdf,html,text,csv,excel,json)
- Support Boostrap 4
- Added translations, available right now only English and Indonesia
- Reload multiple Pjax

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require thisfx-backstage/yii2-ajaxcrud-bs4

```

or add

```
"thisfx-backstage/yii2-ajaxcrud-bs4"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

For first you must enable Gii module Read more about [Gii code generation tool](http://www.yiiframework.com/doc-2.0/guide-tool-gii.html)

Because this extension used [kartik-v/yii2-grid](https://github.com/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:

and you can see **Ajax CRUD Generator**

Translate
---------

[](#translate)

Default translation is english, you can pull request new translation and you can change via config. Open your config `main.php`, add new translation to components..

Available Translation :

- English
- Indonesia

```
'language' => 'id-ID',

'components' => [
    'i18n' => [
        'translations' => [
            'yii2-ajaxcrud' => [
                'class' => 'yii\i18n\PhpMessageSource',
                'basePath' => '@yii2ajaxcrud/ajaxcrud/messages',
                'sourceLanguage' => 'id',
            ],
        ]
    ]
]
```

Reload Multiple Pjax
--------------------

[](#reload-multiple-pjax)

If you need to reload multiple GridView Pjax via Ajax respond from controller, you can add another Pjax ID separated by comma.

```
return [
    'forceReload'=>'#crud-pjax1,#crud-pjax2', // you can add more Pjax ID that you want to reload via ajax respond.
    'title'=> Yii::t('yii2-ajaxcrud', 'Create New')." Content",
    'content'=>''.Yii::t('yii2-ajaxcrud', 'Create').' Content '.Yii::t('yii2-ajaxcrud', 'Success').'',
    'footer'=> Html::button(Yii::t('yii2-ajaxcrud', 'Close'), ['class'=>'btn btn-default pull-left','data-dismiss'=>"modal"]).
        Html::a(Yii::t('yii2-ajaxcrud', 'Create More'), ['create'],['class'=>'btn btn-primary','role'=>'modal-remote'])
];
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1066d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c86d1adb8b1371f4ac63099e09d0072b0da2a86a1070a7fb3ca029fa05d2f01c?d=identicon)[thisfx-backstage](/maintainers/thisfx-backstage)

---

Top Contributors

[![biladina](https://avatars.githubusercontent.com/u/10651085?v=4)](https://github.com/biladina "biladina (26 commits)")[![thisfx-backstage](https://avatars.githubusercontent.com/u/136281215?v=4)](https://github.com/thisfx-backstage "thisfx-backstage (12 commits)")[![hoaaah](https://avatars.githubusercontent.com/u/8166322?v=4)](https://github.com/hoaaah "hoaaah (6 commits)")[![dshiryaev-plesk](https://avatars.githubusercontent.com/u/19424413?v=4)](https://github.com/dshiryaev-plesk "dshiryaev-plesk (5 commits)")[![arollmann](https://avatars.githubusercontent.com/u/2589161?v=4)](https://github.com/arollmann "arollmann (1 commits)")

---

Tags

databasetemplateyii2extensionajaxcrudgii

### Embed Badge

![Health badge](/badges/thisfx-backstage-yii2-ajaxcrud-bs4/health.svg)

```
[![Health](https://phpackages.com/badges/thisfx-backstage-yii2-ajaxcrud-bs4/health.svg)](https://phpackages.com/packages/thisfx-backstage-yii2-ajaxcrud-bs4)
```

###  Alternatives

[johnitvn/yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2

97209.6k16](/packages/johnitvn-yii2-ajaxcrud)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
