PHPackages                             imdake/yii2 - 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. imdake/yii2

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

imdake/yii2
===========

Yii PHP Framework Version 2 - Development Package

2.0.39(5y ago)06BSD-3-ClausePHPPHP &gt;=5.4.0

Since Dec 1Pushed 5y agoCompare

[ Source](https://github.com/imdake/yii2)[ Packagist](https://packagist.org/packages/imdake/yii2)[ Docs](http://www.yiiframework.com/)[ GitHub Sponsors](https://github.com/yiisoft)[ Fund](https://opencollective.com/yiisoft)[ RSS](/packages/imdake-yii2/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (2)Versions (53)Used By (0)

 [ ![Yii Framework](https://camo.githubusercontent.com/3ce80b354a4b3ac067b0dae30d56e297134afb2a52ec89fc02f03870afcf8106/68747470733a2f2f7777772e7969696672616d65776f726b2e636f6d2f66696c65732f6c6f676f2f7969692e706e67) ](https://www.yiiframework.com/)

Yii 2 is a modern framework designed to be a solid foundation for your PHP application.

It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults. The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.

[![Latest Stable Version](https://camo.githubusercontent.com/68c8aaaa9970d52a99a3e4114bd7eb19ac0d3f8685c66494de60d14bab412745/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796969736f66742f796969322e737667)](https://packagist.org/packages/yiisoft/yii2)[![Total Downloads](https://camo.githubusercontent.com/deb4658d825bd0fa699278e9688e8071f63faaefe23c2d1b5d7f52ff576b88c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796969736f66742f796969322e737667)](https://packagist.org/packages/yiisoft/yii2)[![Build Status](https://github.com/yiisoft/yii2/workflows/build/badge.svg)](https://github.com/yiisoft/yii2/actions)[![Code Coverage](https://camo.githubusercontent.com/06d51a5a74147835972f6ec12290e9a2a2e6a17d0fb13b663ae12d55a04f60e7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796969736f66742f796969322f6261646765732f636f7665726167652e706e673f733d33316438306631303336303939653964366133653464373733386636623030306233633364313065)](https://scrutinizer-ci.com/g/yiisoft/yii2/)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/42333bdb4bd5aa08c518af385a52f8f45e597ca1999c99aa66391a185c460b1f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796969736f66742f796969322f6261646765732f7175616c6974792d73636f72652e706e673f733d62313037346131666636643062323134643534666135616237616262623930666330393234373164)](https://scrutinizer-ci.com/g/yiisoft/yii2/)

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

[](#installation)

- The minimum required PHP version of Yii is PHP 5.4.
- It works best with PHP 7.
- [Follow the Definitive Guide](https://www.yiiframework.com/doc-2.0/guide-start-installation.html)in order to get step by step instructions.

Documentation
-------------

[](#documentation)

- A [Definitive Guide](https://www.yiiframework.com/doc/guide/2.0) and a [Class Reference](https://www.yiiframework.com/doc/api/2.0) cover every detail of the framework.
- There is a [PDF version](https://www.yiiframework.com/doc/download/yii-guide-2.0-en.pdf) of the Definitive Guide and a [Definitive Guide Mirror](http://stuff.cebe.cc/yii2docs/) which is updated every 15 minutes.
- For Yii 1.1 users, there is [Upgrading from Yii 1.1](https://www.yiiframework.com/doc/guide/2.0/en/intro-upgrade-from-v1)to get an idea of what has changed in 2.0.

Community
---------

[](#community)

- Participate in [discussions at forums](https://www.yiiframework.com/forum/).
- [Community Slack](https://join.slack.com/t/yii/shared_invite/MjIxMjMxMTk5MTU1LTE1MDE3MDAwMzMtM2VkMTMyMjY1Ng) and [Chat in IRC](https://www.yiiframework.com/chat/).
- Follow us on [Facebook](https://www.facebook.com/groups/yiitalk/), [Twitter](https://twitter.com/yiiframework)and [GitHub](https://github.com/yiisoft/yii2).
- Check [other communities](https://github.com/yiisoft/yii2/wiki/communities).

Contributing
------------

[](#contributing)

The framework is [Open Source](LICENSE.md) powered by [an excellent community](https://github.com/yiisoft/yii2/graphs/contributors).

You may join us and:

- [Report an issue](docs/internals/report-an-issue.md)
- [Translate documentation or messages](docs/internals/translation-workflow.md)
- [Give us feedback or start a design discussion](https://www.yiiframework.com/forum/index.php/forum/42-general-discussions-for-yii-20/)
- [Contribute to the core code or fix bugs](docs/internals/git-workflow.md)
- [Become a sponsor](#sponsoring)

### Reporting Security issues

[](#reporting-security-issues)

Please refer to a [special page at the website](https://www.yiiframework.com/security/)describing proper workflow for security issue reports.

### Directory Structure

[](#directory-structure)

```
build/               internally used build tools
docs/                documentation
framework/           core framework code
tests/               tests of the core framework code

```

### Spreading the Word

[](#spreading-the-word)

Acknowledging or citing Yii 2 is as important as direct contributions.

**In presentations**

If you are giving a presentation or talk featuring work that makes use of Yii 2 and would like to acknowledge it, we suggest using [our logo](https://www.yiiframework.com/logo/) on your title slide.

**In projects**

If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to [use a special badge](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat) in your README:

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)

If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:

```
[![Yii2](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/)

```

### Sponsoring

[](#sponsoring)

Support this project by becoming a sponsor or a backer.

[![OpenCollective sponsors](https://camo.githubusercontent.com/4a76a27cd1a8559250be5a74525140c418bcd454eabdca48911e2b2dfb155610/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f796969736f66742f73706f6e736f72732f62616467652e737667)](https://opencollective.com/yiisoft) [![OpenCollective backers](https://camo.githubusercontent.com/a09c012dbfafaa6a4559215d6b3434bc83591e578c6de2f37577549882c97649/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f796969736f66742f6261636b6572732f62616467652e737667)](https://opencollective.com/yiisoft)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~48 days

Recently: every ~61 days

Total

52

Last Release

2063d ago

Major Versions

2.0.12.2 → 3.0.0-alpha12018-06-10

PHP version history (2 changes)2.0.0-alphaPHP &gt;=5.4.0

3.0.0-alpha1PHP &gt;=7.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11474458?v=4)[likexin](/maintainers/likexin)[@likexin](https://github.com/likexin)

---

Top Contributors

[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (3521 commits)")[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (3466 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (2499 commits)")[![SilverFire](https://avatars.githubusercontent.com/u/4499203?v=4)](https://github.com/SilverFire "SilverFire (988 commits)")[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (881 commits)")[![softark](https://avatars.githubusercontent.com/u/342857?v=4)](https://github.com/softark "softark (584 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (282 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (224 commits)")[![cuileon](https://avatars.githubusercontent.com/u/313312?v=4)](https://github.com/cuileon "cuileon (219 commits)")[![pana1990](https://avatars.githubusercontent.com/u/6630197?v=4)](https://github.com/pana1990 "pana1990 (147 commits)")[![resurtm](https://avatars.githubusercontent.com/u/100198?v=4)](https://github.com/resurtm "resurtm (138 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (118 commits)")[![lucianobaraglia](https://avatars.githubusercontent.com/u/374554?v=4)](https://github.com/lucianobaraglia "lucianobaraglia (114 commits)")[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (110 commits)")[![qiansen1386](https://avatars.githubusercontent.com/u/1759658?v=4)](https://github.com/qiansen1386 "qiansen1386 (103 commits)")[![LarryUllman](https://avatars.githubusercontent.com/u/1674823?v=4)](https://github.com/LarryUllman "LarryUllman (102 commits)")[![xhlstrive](https://avatars.githubusercontent.com/u/6897730?v=4)](https://github.com/xhlstrive "xhlstrive (96 commits)")[![rob006](https://avatars.githubusercontent.com/u/5972388?v=4)](https://github.com/rob006 "rob006 (90 commits)")[![abrahamgreyson](https://avatars.githubusercontent.com/u/1341308?v=4)](https://github.com/abrahamgreyson "abrahamgreyson (79 commits)")[![cui-liang](https://avatars.githubusercontent.com/u/45895684?v=4)](https://github.com/cui-liang "cui-liang (76 commits)")

---

Tags

frameworkyii2

### Embed Badge

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

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

###  Alternatives

[yiisoft/yii2-dev

Yii PHP Framework Version 2 - Development Package

14.3k100.8k31](/packages/yiisoft-yii2-dev)[yiisoft/yii2

Yii PHP Framework Version 2

23529.4M9.4k](/packages/yiisoft-yii2)[yidas/yii2-bower-asset

Bower Assets for Yii 2 app provided via Composer repository

331.2M30](/packages/yidas-yii2-bower-asset)[tecnocen/yii2-formgenerator

Yii 2 Library to configure form generator

145.7k](/packages/tecnocen-yii2-formgenerator)

PHPackages © 2026

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