yii2

Yii 2: The Fast, Secure and Professional PHP Framework

Github stars Tracking Chart

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
Total Downloads
Build Status
Code Coverage
Scrutinizer Quality Score
Code Climate

Installation

  • The minimum required PHP version of Yii is PHP 5.4.
  • It works best with PHP 7.
  • Follow the Definitive Guide
    in order to get step by step instructions.

Documentation

Community

Contributing

The framework is Open Source powered by an excellent community.

You may join us and:

Reporting Security issues

Please refer to a special page at the website
describing proper workflow for security issue reports.

Directory Structure

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

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 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 in your README:

Yii2

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

Support this project by becoming a sponsor or a backer.

OpenCollective sponsors OpenCollective backers

Main metrics

Overview
Name With Owneryiisoft/yii2
Primary LanguagePHP
Program languagePHP (Language Count: 10)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2012-02-13 15:32:36
Pushed At2025-05-31 06:47:14
Last Commit At2025-05-31 10:47:14
Release Count77
Last Release Name2.0.52 (Posted on 2025-02-13 23:02:30)
First Release Name2.0.0-alpha (Posted on 2013-12-01 13:35:52)
用户参与
Stargazers Count14.3k
Watchers Count1.1k
Fork Count6.9k
Commits Count20.6k
Has Issues Enabled
Issues Count11594
Issue Open Count432
Pull Requests Count5251
Pull Requests Open Count100
Pull Requests Close Count2912
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private