From a221de7470e8732ed1383b1ac0ee657b1f9819e2 Mon Sep 17 00:00:00 2001 From: Heru Arief Wijaya Date: Sun, 24 Nov 2019 04:15:35 +0700 Subject: [PATCH] Initial commit --- README.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..891b64e --- /dev/null +++ b/README.md @@ -0,0 +1,65 @@ +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. + +[![Latest Stable Version](https://poser.pugx.org/johnitvn/yii2-ajaxcrud/v/stable)](https://packagist.org/packages/johnitvn/yii2-ajaxcrud) +[![License](https://poser.pugx.org/johnitvn/yii2-ajaxcrud/license)](https://packagist.org/packages/johnitvn/yii2-ajaxcrud) +[![Total Downloads](https://poser.pugx.org/johnitvn/yii2-ajaxcrud/downloads)](https://packagist.org/packages/johnitvn/yii2-ajaxcrud) + +Gii CRUD template for Single Page Ajax Administration for yii2 + +![yii2 ajaxcrud extension screenshot](https://c1.staticflickr.com/1/330/18659931433_6e3db2461d_o.png "yii2 ajaxcrud extension screenshot") + + +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/)