Files
yii2/framework
Evgeniy Tkachenko c6529b6691 Update README.md
Updated instructions for the current reality.
2014-09-29 12:15:09 +03:00
..
2014-09-16 20:03:53 -04:00
2014-09-04 20:44:36 +04:00
2014-09-27 21:59:54 -04:00
2014-09-22 08:27:04 -04:00
2014-09-27 21:59:54 -04:00
2014-07-30 00:21:31 +02:00
2014-09-27 21:59:54 -04:00
2014-07-30 00:21:31 +02:00
2014-07-30 00:21:31 +02:00
2014-09-24 21:04:19 +04:00
2014-09-27 21:59:54 -04:00
2014-09-27 21:59:54 -04:00
2014-09-19 11:43:55 -04:00
2014-01-10 21:41:43 -05:00
2014-01-10 21:41:43 -05:00
2014-09-28 01:44:31 -04:00
2014-09-28 01:44:31 -04:00
2014-09-27 21:59:54 -04:00
2013-11-02 15:37:25 -04:00
2014-09-29 12:15:09 +03:00
2014-08-17 18:55:24 +04:00
2014-03-20 19:54:52 -04:00

Yii PHP Framework Version 2

This is the core framework code of Yii 2.

Installation

The preferred way to install the Yii framework is through composer.

Either run

php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta2"
php composer.phar require --prefer-dist "yiisoft/yii2 2.0.0-rc" "yiisoft/yii2-composer 2.0.0-rc"

2.0.0-rc versions may be replaced by dev-master, to obtain development version.

or add

"yiisoft/yii2": "2.0.0-rc",
"yiisoft/yii2-composer": "2.0.0-rc"

to the require section of your composer.json.

Next, you should modify the entry script of your app system by including the following code at the beginning:

require(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');

$yiiConfig = require(__DIR__ . '/../config/yii/web.php');
new yii\web\Application($yiiConfig);