Skip to content
Yii PHP Framework 1.1.x
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
build make guide and blog PDF compile Apr 19, 2017
demos Fix spelling in documentation and add missing/invalid documentation [… Jul 19, 2016
framework Fixes #4220: Fixed PHP 7.2 incompatibility caused by the use of `crea… Feb 12, 2019
requirements Normalize all the line endings Nov 23, 2015
tests Fixes #4227: Fixed PHPUnit 6 compatibility Mar 21, 2019
.mailmap updated comment in .mailmap file Nov 21, 2012
.travis.yml Skip memcache extension load on php 7.3 (#4248) Feb 13, 2019
CHANGELOG Update Apr 24, 2017
LICENSE Removed redundant line from license [skip ci] Apr 26, 2018

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

You can’t perform that action at this time.