wodrow / yii2wajaxcrud
Gii CRUD template for Single Page Ajax Administration for yii2
Installs: 190
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 114
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.1
- kartik-v/yii2-date-range: ^1.7.1
- kartik-v/yii2-detail-view: ^1.8.2
- kartik-v/yii2-editable: ^1.7.8
- kartik-v/yii2-grid: ^3.3.4
- kartik-v/yii2-krajee-base: ^2.0|^3.0
- kartik-v/yii2-mpdf: ^1.0.5
- kartik-v/yii2-widget-activeform: ^1.5.8
- moonlandsoft/yii2-phpexcel: ^2.0.0
- wodrow/yii2wsoftdelete: ^1.0.1
- wodrow/yii2wtools: ^1.0.7
- yiisoft/yii2: ^2.0.6
- yiisoft/yii2-bootstrap: ^2.0.0
Requires (Dev)
- yiisoft/yii2-gii: ^2.0.6
This package is auto-updated.
Last update: 2024-11-09 13:38:35 UTC
README
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)
- Editable suport
- Daterange suport
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist wodrow/yii2wajaxcrud "^2.1"
or
php composer.phar require --prefer-dist wodrow/yii2wajaxcrud "^3.0"
or add
"wodrow/yii2wajaxcrud": "^2.1"
or
"wodrow/yii2wajaxcrud": "^3.0"
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' ] ]
gii config like
$config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', ]; $config['modules']['gii']['generators']['wodrowmodel'] = [ 'class' => \wodrow\wajaxcrud\generators\model\Generator::class, 'showName' => "YOUR MODEL GENERATOR", ]; $config['modules']['gii']['generators']['wodrowwajaxcrud'] = [ 'class' => \wodrow\wajaxcrud\generators\crud\Generator::class, 'showName' => "YOUR AJAX CRUD GENERATOR", ];
You can then access Gii through the following URL:
http://localhost/path/to/index.php?r=gii
and you can see YOUR AJAX CRUD GENERATOR
Others
#只对github.com
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080