https://github.com/hoaaah/yii2-ajaxcrud-bs4
Previously https://github.com/johnitvn/yii2-ajaxcrud
https://github.com/hoaaah/yii2-ajaxcrud-bs4
Last synced: 3 months ago
JSON representation
Previously https://github.com/johnitvn/yii2-ajaxcrud
- Host: GitHub
- URL: https://github.com/hoaaah/yii2-ajaxcrud-bs4
- Owner: hoaaah
- Created: 2019-11-23T21:10:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T03:06:21.000Z (over 1 year ago)
- Last Synced: 2025-05-31T00:34:13.673Z (4 months ago)
- Language: PHP
- Size: 38.1 KB
- Stars: 2
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2-ajaxcrud
=============This is not my work, this repository created by [johitvn](https://github.com/johnitvn/yii2-ajaxcrud), 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](https://github.com/johnitvn/yii2-ajaxcrud) already merge my PR, I will delete this repository.
[](https://packagist.org/packages/johnitvn/yii2-ajaxcrud)
[](https://packagist.org/packages/johnitvn/yii2-ajaxcrud)
[](https://packagist.org/packages/johnitvn/yii2-ajaxcrud)Gii CRUD template for Single Page Ajax Administration for yii2

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](http://getcomposer.org/download/).
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](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
````php
'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](https://w3deep.com/wordpress-theme/)
[Free download html template](https://w3deep.com/html-template/)