CODE 项目整体迁移至码云平台(公告
OS_Mirror / yii PHP

Yii是一个高性能的PHP5的web应用程序开发框架。通过一个简单的命令行工具 yiic 可以快速创建一个web应用程序的代码框架,开发者可以在生成的代码框架基础上添加业务逻辑,以快速完成应用程序的开发。

开发者 web应用 应用程序 程序开发 yii

项目最近一次提交:2 个月 前 3881dddc6

文件列表 提交日期 作者 提交信息 提交编号
.github / 2017-04-22 16:29:12 No_avatar Alexander Makarov Created [ski... 2816540c
build / 2017-04-19 17:35:02 No_avatar Carsten Brandt make guide and blog PDF compile fdeb5b80
demos / 2016-07-19 14:01:14 No_avatar Armano Fix spelling in documentation and add... 26368dea
docs / 2017-12-26 14:07:26 No_avatar egorrishe Docs [docs/guide/topics.i18n.txt] fix... ecf658ec
framework / 2018-05-21 01:10:23 No_avatar Tomasz Suchanek Fixed: PHP 7.2 each() function in CTa... 3881dddc
requirements / 2015-11-23 18:02:25 No_avatar Carsten Brandt Normalize all the line endings 53d9f95f
tests / 2018-01-31 03:08:29 No_avatar daniel1302 Fixes #4191: Fixed multiple PHP 7.2 i... 2ebe9b65
.gitattributes 2015-11-20 03:15:31 No_avatar Alexander Makarov Fixes #2822: made release packages sl... 40a87547
.gitignore 2016-12-05 16:32:03 No_avatar Carsten Brandt use our own phpunit intead of travis' 853bc8b2
.mailmap 2012-11-21 15:58:27 No_avatar Carsten Brandt updated comment in .mailmap file 678e7c8b
.travis.yml 2018-01-25 11:50:54 No_avatar Nobuo Kihara Fixes #4167: Fixed PHP 7.2 incompatib... 05d2c675
CHANGELOG 2018-05-20 06:07:31 No_avatar ThePepster Fixes #4197: Fixed PHP 7.2 assert wit... f03dc5e5 2017-04-24 12:47:18 No_avatar Carsten Brandt Update ed5306ff
LICENSE 2018-04-26 21:10:40 No_avatar Alexander Makarov Removed redundant line from license [... 074f788a
README 2012-02-15 12:55:21 No_avatar Qiang Xue Added README. 93ce8769 2017-04-18 19:47:03 No_avatar Alexander Makarov Fixed wording [skip ci] 2dfa5a9d
UPGRADE 2017-06-08 09:22:03 No_avatar Carsten Brandt prepare for next release 20d91d13
composer.json 2018-01-25 11:50:54 No_avatar Nobuo Kihara Fixes #4167: Fixed PHP 7.2 incompatib... 05d2c675

Yii Web Programming Framework

Thank you for choosing Yii - a high-performance component-based PHP framework.

Build Status

Note that Yii 1.1 has reached end of life and won't receive updates except security fixes. Please start new projects using Yii 2.


Please make sure the release file is unpacked under a Web-accessible directory. You shall see the following files and directories:

  demos/               demos
  framework/           framework source files
  requirements/        requirement checker
  CHANGELOG            describing changes in every Yii release
  LICENSE              license of Yii
  README               this file
  UPGRADE              upgrading instructions


The minimum requirement by Yii is that your Web server supports PHP 5.1.0 or above. Yii has been tested with Apache HTTP server on Windows and Linux operating systems.

Please access the following URL to check if your Web server reaches the requirements by Yii, assuming "YiiPath" is where Yii is installed:



Yii comes with a command line tool called "yiic" that can create a skeleton Yii application for you to start with.

On command line, type in the following commands:

    $ cd YiiPath/framework                (Linux)
    cd YiiPath\framework                  (Windows)

    $ ./yiic webapp ../testdrive          (Linux)
    yiic webapp ..\testdrive              (Windows)

The new Yii application will be created at "YiiPath/testdrive". You can access it with the following URL:



Please visit the project website for tutorials, class reference and join discussions with other Yii users.

The Yii Developer Team