Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webix-hub/webix-gii
https://github.com/webix-hub/webix-gii
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/webix-hub/webix-gii
- Owner: webix-hub
- Created: 2015-04-07T11:37:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-08T12:53:38.000Z (almost 10 years ago)
- Last Synced: 2024-04-09T21:15:12.867Z (9 months ago)
- Language: PHP
- Size: 137 KB
- Stars: 4
- Watchers: 18
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
yii2-webix-gii-generators
=====================This generator generates the grid on a given url with the help of Webix Datatable.
## Installation
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
$ php composer.phar require "webix/gii": "dev-master"
```or add
```
"webix/gii": "dev-master"
```to the ```require``` section of your `composer.json` file.
After that you can install new package:
```
$ php composer.phar update
```## Usage
```php
//if your gii modules configuration looks like below:
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = 'yii\gii\Module';//remove this two lines
``````php
//Add this into common/config/web.php
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'generators' => [
'webix-many-tables' => [
'class' => 'Webix\Gii\ManyTables\Generator'
],
],
];
```