jinowom / yii2-ajaxcrud
Gii CRUD template for Single Page Ajax Administration for yii2
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- kartik-v/yii2-editable: ^1.7.8
- kartik-v/yii2-grid: ^3.5.3
- kartik-v/yii2-mpdf: ^1.0.6
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap5: ^2.0.4
- yiisoft/yii2-gii: *
This package is auto-updated.
Last update: 2025-02-16 04:51:52 UTC
README
Gii CRUD template for Single Page Ajax Administration for yii2
Updata info
"yiisoft/yii2-bootstrap5": "^2.0.4", "kartik-v/yii2-grid": "^3.5.3", "kartik-v/yii2-mpdf": "^1.0.6", "kartik-v/yii2-editable": "^1.7.8" from johnitvn/yii2-ajaxcrud :"dev-master" 2022-12-23 04:35
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 jinowom/yii2-ajaxcrud "@dev"
or add
"jinowom/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
Thanks for
yiisoft/yii2 kartik-v/yii2-grid johnitvn/yii2-ajaxcrud ……
Lets contibute to keep it updated and make it useful for all friends.