PHPackages                             yujin1st/gii-templates - 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. yujin1st/gii-templates

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

yujin1st/gii-templates
======================

yii2 gii templates

1.3(7y ago)11.6k[1 issues](https://github.com/yujin1st/gii-templates/issues)BSD-3-ClausePHPPHP &gt;=5.4.0

Since Jun 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/yujin1st/gii-templates)[ Packagist](https://packagist.org/packages/yujin1st/gii-templates)[ Docs](https://github.com/yujin1st/gii-templates)[ RSS](/packages/yujin1st-gii-templates/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Templates for yii2-gii
======================

[](#templates-for-yii2-gii)

Core template extends basic gii template for a few things:

- Added scenarios and behavior methods to model
- Commented sections in model
- AccessController added to controller
- Alert messages added to controller
- Cancel button added to form

Install
-------

[](#install)

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

Either run

```
$ php composer.phar require  yujin1st/gii-templates "@dev"
```

or add

```
"yujin1st/gii-templates": "@dev"
```

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

Usage
-----

[](#usage)

Setup templates to gii configuration

```
 $config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'generators' => [
      'crud' => [
        'class' => 'yii\gii\generators\crud\Generator',
        'templates' => [
          'core' => '@yujin1st/gii/core/crud',
        ]
      ],
      'model' => [
        'class' => 'yii\gii\generators\model\Generator',
        'templates' => [
          'core' => '@yujin1st/gii/core/model',
        ]
      ]
    ],
  ];
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~352 days

Total

4

Last Release

2617d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a26414e20c8de4c2308b02f39e8ccf57ea5b2e9bf6cb3bcf46fc406c06c88aa?d=identicon)[yujin1st](/maintainers/yujin1st)

---

Top Contributors

[![yujin1st](https://avatars.githubusercontent.com/u/2317913?v=4)](https://github.com/yujin1st "yujin1st (9 commits)")

---

Tags

yii2gii

### Embed Badge

![Health badge](/badges/yujin1st-gii-templates/health.svg)

```
[![Health](https://phpackages.com/badges/yujin1st-gii-templates/health.svg)](https://phpackages.com/packages/yujin1st-gii-templates)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[mdmsoft/yii2-gii

Yii2 custom generator for gii

1336.1k1](/packages/mdmsoft-yii2-gii)

PHPackages © 2026

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