PHPackages                             trandangtri/yii2-giiall - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. trandangtri/yii2-giiall

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

trandangtri/yii2-giiall
=======================

Using Yii2-Gii to generate code for other PHP framework, such as PhalconEye, Laravel, etc.

2261PHP

Since Jun 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/trandangtri/yii2-giiall)[ Packagist](https://packagist.org/packages/trandangtri/yii2-giiall)[ RSS](/packages/trandangtri-yii2-giiall/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 - Gii All
==============

[](#yii2---gii-all)

Goals
-----

[](#goals)

Using Yii2-Gii to generate code for other PHP framework, such as Phalcon, PhalconEye, Laravel, etc.

**PROJECT IS IN DEVELOPMENT STAGE!**

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

[](#installation)

Create a basic yii application.

```
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic /path/to/yii-application

```

Go to the project directory and install `yii2-giiall`

```
cd yii-application
php composer.phar require trandangtri/`yii2-giiall` @dev-master

```

Edit the application config...

```
edit config/web.php

```

... and add the `yii2-giiall` generator in the `YII_ENV_DEV` section

```
$config['modules']['gii'] = array();
$config['modules']['gii']['class'] = 'yii\gii\Module';
$config['modules']['gii'] = [
    'class'      => 'yii\gii\Module',
    'allowedIPs' => ['::1', '192.168.1.*'],
    'generators' => [
        // ...
        'phalconeye-model' => [
            'class' => 'trandangtri\giiall\phalconeye\model\Generator',
            'appPath' => '../../app/'
        ],
        // ...
    ],
];

```

Remember setup the `appPath` to point to the application folder of your Core application. In this case, it pointed to PhalconEye application folder

And don't forget to setup a database application component, eg.

```
'db' => [
     'class' => 'yii\db\Connection',
     'dsn' => 'mysql:host=localhost;dbname=devdb',
     'username' => 'root',
     'password' => 'root',
     'charset' => 'utf8',
],

```

Open Gii...

```
http://localhost/index.php?r=gii

```

...and select the **`yii2-giiall`** template, you may need to create some models in advance.

References
----------

[](#references)

- [Yii2 - Basic application template](http://www.yiiframework.com/doc-2.0/guide-apps-basic.html)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/d5b60c4b37463ee727563c8eaea8e7b0e93f075552e3fdeb0b15afaef596477f?d=identicon)[trandangtri](/maintainers/trandangtri)

---

Top Contributors

[![trandangtri](https://avatars.githubusercontent.com/u/7868214?v=4)](https://github.com/trandangtri "trandangtri (1 commits)")

### Embed Badge

![Health badge](/badges/trandangtri-yii2-giiall/health.svg)

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

###  Alternatives

[components/jqueryui

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

1795.8M57](/packages/components-jqueryui)

PHPackages © 2026

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