PHPackages                             spicytuna8/yii2-ajaxcrud-bs5 - 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. spicytuna8/yii2-ajaxcrud-bs5

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

spicytuna8/yii2-ajaxcrud-bs5
============================

Gii CRUD template for Single Page Ajax Administration for yii2

v1.0.1(11mo ago)046Apache-2.0PHPCI failing

Since May 12Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/spicytuna8/yii2-ajaxcrud-bs5)[ Packagist](https://packagist.org/packages/spicytuna8/yii2-ajaxcrud-bs5)[ RSS](/packages/spicytuna8-yii2-ajaxcrud-bs5/feed)WikiDiscussions main Synced 1mo ago

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

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

[](#yii2-ajaxcrud)

Original work by johitvn. Gii CRUD template for Single Page Ajax Administration for yii2

!\[yii2 ajaxcrud extension screenshot\] [![image](https://private-user-images.githubusercontent.com/9192757/442722457-84c06ab2-0ead-4d06-83eb-c369092c29fa.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxMDY2NjIsIm5iZiI6MTc3NTEwNjM2MiwicGF0aCI6Ii85MTkyNzU3LzQ0MjcyMjQ1Ny04NGMwNmFiMi0wZWFkLTRkMDYtODNlYi1jMzY5MDkyYzI5ZmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDJUMDUwNjAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzdiMjIzNWJiNzgyODg2ZGY1OWUzMGE2NTUxOGFhODU4YjA0YzY1MDI0Y2I5MjVkZDUxNzk1NmU0N2VkYTkzMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.1iyAMqfPJkEmukepX329wShFv-ZU0GRDi0sZ2GUs2Dw)](https://private-user-images.githubusercontent.com/9192757/442722457-84c06ab2-0ead-4d06-83eb-c369092c29fa.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxMDY2NjIsIm5iZiI6MTc3NTEwNjM2MiwicGF0aCI6Ii85MTkyNzU3LzQ0MjcyMjQ1Ny04NGMwNmFiMi0wZWFkLTRkMDYtODNlYi1jMzY5MDkyYzI5ZmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDJUMDUwNjAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzdiMjIzNWJiNzgyODg2ZGY1OWUzMGE2NTUxOGFhODU4YjA0YzY1MDI0Y2I5MjVkZDUxNzk1NmU0N2VkYTkzMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.1iyAMqfPJkEmukepX329wShFv-ZU0GRDi0sZ2GUs2Dw)[![image](https://private-user-images.githubusercontent.com/9192757/442722660-143d5a20-865f-43f2-b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RlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDJUMDUwNjAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWQyMWI3M2NjMjE4ZjkwOTc4NjY0Y2M5ZDNhOWRlNmYyYzY5MDM2ZDQyYmExOTU5MWM1ZjE4NmRjNDcxNzIzMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.qs_le1zK9DwDNUfGhUKN2lqh-sdsmv5pdyyEuBiwbII)

Features
--------

[](#features)

- Create, read, update, delete in onpage with Ajax
- Bulk delete suport
- Pjax widget suport
- Export function(pdf,html,text,csv,excel,json)

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

[](#installation)

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

Either run

```
composer require --prefer-dist spicytuna8/yii2-ajaxcrud-bs5 "*"

```

or add

```
"spicytuna8/yii2-ajaxcrud-bs5": "*"

```

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

Add translation to the config

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

Add bsVersion to the params file

```
return [
    'bsVersion' => '5.x',
];
```

Redirect URL feature for make redirect after

```
if($model->load($request->post()) && $model->save()){
    return ['forceClose'=>true,'forceRedirect'=>"./view?id=$model->id"];
}
```

You can then access Gii through the following URL:

and you can see **Ajax CRUD Generator**

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance51

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Every ~21 days

Total

2

Last Release

344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dcbd481469aac467045e5cbf3b567779a6aee99a7c04518daf1202a49c6e7da?d=identicon)[spicytuna8](/maintainers/spicytuna8)

---

Top Contributors

[![spicytuna8](https://avatars.githubusercontent.com/u/9192757?v=4)](https://github.com/spicytuna8 "spicytuna8 (7 commits)")

---

Tags

databasetemplateyii2extensionajaxcrudgii

### Embed Badge

![Health badge](/badges/spicytuna8-yii2-ajaxcrud-bs5/health.svg)

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

###  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)
