Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
杨国帅 f9cdcf438d Fixes #3087: Added `yii\helpers\BaseHtml::error()` "errorMethod" option to be able to customize errors display 7 years ago
..
assets Fixed yii.js to follow jQuery 3.0 API changes 7 years ago
base Fixes #7988: Added `\yii\helpers\Console::errorSummary()` and `\yii\helpers\Json::errorSummary()` 7 years ago
behaviors Fixes #5515: Added default value for `yii\behaviors\BlameableBehavior` for cases when the user is guest 7 years ago
caching Fixes #15302: Fixed `yii\caching\DbCache` so that `getValues` now behaves the same as `getValue` with regards to streams 7 years ago
captcha Fixes #14294: Added `InputWidget::renderInputHtml()` to move behavior described in `InputWidget` class docs to the class itself 7 years ago
console Fixes #15270: Resolved potential race conditions when writing generated php-files 7 years ago
data release version 2.0.13 7 years ago
db Removed confusing comment about event triggering from BaseActiveRecord::init() (#14303) [skip ci] 7 years ago
di Revered method call. No need to slow container down [skip ci] 7 years ago
filters Fixes #9253: Allow `variations` to be a string for `yii\filters\PageCache` and `yii\widgets\FragmentCache` 7 years ago
grid Added information about filters and header of DataColumn (#14981) [skip ci] 7 years ago
helpers Fixes #3087: Added `yii\helpers\BaseHtml::error()` "errorMethod" option to be able to customize errors display 7 years ago
i18n Fixes #14276: Fixed I18N format with dotted parameters 7 years ago
log Fixes #8983: Only truncate the original log file for rotation 7 years ago
mail Add empty lines before return statements. (#14682) [skip ci] 7 years ago
messages Fixed LV messages (#15379) [skip ci] 7 years ago
mutex be clear about timeout in seconds in Mutex 7 years ago
rbac Code style fixes 7 years ago
requirements Fixes #15270: Resolved potential race conditions when writing generated php-files 7 years ago
rest Fixes #9137: Added `Access-Control-Allow-Method` header for the OPTIONS request 7 years ago
test Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
validators Fixes #14484: Fixed `yii\validators\UniqueValidator` for target classes with a default scope 7 years ago
views Fixes #14568: Refactored migration templates to use `safeUp()` and `safeDown()` methods 7 years ago
web Fixes #7996: Short syntax for verb in GroupUrlRule 7 years ago
widgets Fixes #9253: Allow `variations` to be a string for `yii\filters\PageCache` and `yii\widgets\FragmentCache` 7 years ago
.gitignore
.htaccess
BaseYii.php prepare for next release 7 years ago
CHANGELOG.md Fixes #3087: Added `yii\helpers\BaseHtml::error()` "errorMethod" option to be able to customize errors display 7 years ago
LICENSE.md
README.md Updated asset-plugin version in docs [skip ci] 7 years ago
UPGRADE.md Fixes #14043: Added `yii\helpers\IpHelper` 7 years ago
Yii.php Enable `include` rule in php-cs-fixer (#14418) 7 years ago
classes.php release version 2.0.13 7 years ago
composer.json Added missing , 7 years ago
yii Enable `include` rule in php-cs-fixer (#14418) 7 years ago
yii.bat

README.md

Yii PHP Framework Version 2

This is the core framework code of Yii 2.

This repository is a read-only git subsplit of https://github.com/yiisoft/yii2. Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.

Installation

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

Either run

composer global require "fxp/composer-asset-plugin:^1.4.1"
composer require yiisoft/yii2

or add

"yiisoft/yii2": "~2.0.0",

to the require section of your composer.json.