Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cangak/yii-ajaxbs5
yii2 ajax crud bootstrap5
https://github.com/cangak/yii-ajaxbs5
ajax bootsrap5 crud yii2 yii2-extension
Last synced: 4 days ago
JSON representation
yii2 ajax crud bootstrap5
- Host: GitHub
- URL: https://github.com/cangak/yii-ajaxbs5
- Owner: cangak
- Created: 2022-10-07T07:46:41.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T10:51:11.000Z (about 2 years ago)
- Last Synced: 2024-11-13T10:17:14.819Z (about 2 months ago)
- Topics: ajax, bootsrap5, crud, yii2, yii2-extension
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2-ajaxcrud
=============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
```
composer require --prefer-dist cangak/yii-ajaxbs5 "*"
```or add
```
"cangak/yii-ajaxbs5": "*"
```
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'
]
]````
janganlupa di AppAsset.php
````php
ublic $depends = [
'yii\web\YiiAsset',
'yii\bootstrap5\BootstrapAsset',
// '\rmrevin\yii\fontawesome\AssetBundle'];
````
lalu di param
````php
'bsVersion' => '5.x', // this will set globally `bsVersion` to Bootstrap 5.x for all Krajee Extensions
````
You can then access Gii through the following URL:http://localhost/path/to/index.php?r=gii
and you can see Ajax CRUD Generator