PHPackages                             wisekinger/yii2-xgii - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. wisekinger/yii2-xgii

ActiveYii2-extension[Framework](/categories/framework)

wisekinger/yii2-xgii
====================

The xGii extension for the Yii framework

27PHP

Since Nov 15Pushed 7y agoCompare

[ Source](https://github.com/wisekinger/yii2-xgii)[ Packagist](https://packagist.org/packages/wisekinger/yii2-xgii)[ RSS](/packages/wisekinger-yii2-xgii/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

A Extension for Yii2
====================

[](#a-extension-for-yii2)

#### 在gii基础上新增代码优先模式，基于表单填写的数据表名称以及字段，自动生成模型代码文件，同时在数据库中创建相同构架的数据表。

[](#在gii基础上新增代码优先模式基于表单填写的数据表名称以及字段自动生成模型代码文件同时在数据库中创建相同构架的数据表)

[![Latest Stable Version](https://camo.githubusercontent.com/07d72ceff08c1e485fabeaaeb81d7d3d6253e2b1e8b684e6a4d981bc9c361e87/68747470733a2f2f706f7365722e707567782e6f72672f776973656b696e6765722f796969322d786769692f762f737461626c65)](https://packagist.org/packages/wisekinger/yii2-xgii)[![Total Downloads](https://camo.githubusercontent.com/b731f6641bb7989e846d58432a7b5205370641c31eff0755c3ba69097170ab42/68747470733a2f2f706f7365722e707567782e6f72672f776973656b696e6765722f796969322d786769692f646f776e6c6f616473)](https://packagist.org/packages/wisekinger/yii2-xgii)[![Latest Unstable Version](https://camo.githubusercontent.com/9b4d9e4ee32f60716361a909614632a841a41d2a09facca1693bf2e69615cfe1/68747470733a2f2f706f7365722e707567782e6f72672f776973656b696e6765722f796969322d786769692f762f756e737461626c65)](https://packagist.org/packages/wisekinger/yii2-xgii)[![License](https://camo.githubusercontent.com/7ac3cf27af3983a3ac89fa5409b25f7f7647a8d7c033a792766efc1b8235570b/68747470733a2f2f706f7365722e707567782e6f72672f776973656b696e6765722f796969322d786769692f6c6963656e7365)](https://packagist.org/packages/wisekinger/yii2-xgii)

packages:

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --dev wisekinger/yii2-xgii

```

or add

```
"wisekinger/yii2-xgii": "2.0.x-dev"

```

to the require section of your `composer.json` file.

Useage

add code below to your config section

```
    $config['bootstrap'][] = 'xgii';
    $config['modules']['xgii'] = [
        'class' => 'yii\xgii\Module',
    ];

```

You can then access xGii through the following URL:

```
http://localhost/path/to/index.php?r=xgii

```

or if you have enabled pretty URLs, you may use the following URL:

```
http://localhost/path/to/index.php/xgii

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fda12fea02131b876d40b46acf26dacf7d18fd2dbb37590eb3f855c8d20e0e22?d=identicon)[wiseking2018](/maintainers/wiseking2018)

---

Top Contributors

[![wiseking2018](https://avatars.githubusercontent.com/u/44089004?v=4)](https://github.com/wiseking2018 "wiseking2018 (32 commits)")

### Embed Badge

![Health badge](/badges/wisekinger-yii2-xgii/health.svg)

```
[![Health](https://phpackages.com/badges/wisekinger-yii2-xgii/health.svg)](https://phpackages.com/packages/wisekinger-yii2-xgii)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
