Yii Web Programming Framework
Fund package maintenance!
Installs: 3 878 546
Stars: 4 841
Forks: 2 310
Open Issues: 2
- php: >=5.1.0
- cweagans/composer-patches: ^1.7
- pear/archive_tar: ~1.4.6
- phing/phing: 2.*
- phpseclib/mcrypt_compat: ^1.0
- phpunit/phpunit: 4.8.34
- phpunit/phpunit-selenium: ~1.4.0
- ext-mcrypt: Required by encrypt and decrypt methods of CSecurityManager
- phpseclib/mcrypt_compat: To provide mcrypt polyfill when extension is unavailable
Thank you for choosing Yii - a high-performance component-based PHP framework.
Note that Yii 1.1 has reached end of life and will only receive necessary security fixes and fixes to adjust the code for compatibility with PHP 7 and 8 if they do not cause breaking changes. This allows you to keep your servers PHP version up to date in the environments where old Yii 1.1 applications are hosted and stay within the version ranges supported by the PHP team.
Currently tested and supported up to PHP 8.1.
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 https://www.yiiframework.com