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.
 
 
 
 
 
Bizley fb7bc9fa5c
Fix #18274: Fix `yii\log\Logger` to calculate profile timings no matter the value of the flush interval
3 years ago
..
.github Add meta-files for yiisoft/yii2-framework [skip ci] 5 years ago
assets Fix #18650: Refactor `framework/assets/yii.activeForm.js` arrow function into traditional function for IE11 compatibility 3 years ago
base Only log the $_SERVER information under YII_DEBUG (#18707) 3 years ago
behaviors Scrutinizer fixes (#18685) 3 years ago
caching Fix #18678: Fix `yii\caching\DbCache` to use configured cache table name instead of the default one in case of MSSQL varbinary column type detection 3 years ago
captcha release version 2.0.39 4 years ago
console Fix #18656: Added ability for `yii serve`'s `--router` param to take an alias 3 years ago
data Fix some code smells (#18696) 3 years ago
db Fix PhpDoc in yii\db\Query (#18752) 3 years ago
di Replacing deprecated `::className()` with `::class` (#18671) 3 years ago
filters Added example with hyphen in action ID 3 years ago
grid Replacing deprecated `::className()` with `::class` (#18671) 3 years ago
helpers Small fixes in `yii\helpers\BaseStringHelper` (#18795) 3 years ago
i18n Fix $value parameter types in yii\i18n\Formatter::normalizeDatetimeValue() 3 years ago
log Fix #18274: Fix `yii\log\Logger` to calculate profile timings no matter the value of the flush interval 3 years ago
mail release version 2.0.41 4 years ago
messages Fixed tipfellery and inconsistencies regardin file translation for file validation messages in Croatian 3 years ago
mutex Fix some code smells (#18696) 3 years ago
rbac Fixed phpdoc types 4 years ago
requirements Fix some code smells (#18696) 3 years ago
rest Fix #18534: Added `prepareSearchQuery` property in `yii\rest\IndexAction` 4 years ago
test Replacing deprecated `::className()` with `::class` (#18671) 3 years ago
validators Fix #18734: Added `yii\validators\EmailValidator::$enableLocalIDN` 3 years ago
views Terminate unterminated JS statement in views/ErrorHandler/exception.php (#17611) 5 years ago
web Minor enhancements for JsExpression (#18793) 3 years ago
widgets Fix some code smells (#18696) 3 years ago
.gitignore psr-4 move 11 years ago
.htaccess psr-4 move 11 years ago
.phpstorm.meta.php Fix #18205: Add `.phpstorm.meta.php` file for better auto-completion in PhpStorm 4 years ago
BaseYii.php Scrutinizer fixes (#18685) 3 years ago
CHANGELOG.md Fix #18274: Fix `yii\log\Logger` to calculate profile timings no matter the value of the flush interval 3 years ago
LICENSE.md Remove non-standard header so license is auto-detected properly [skip ci] 5 years ago
README.md Updated asset installation info (#16112) [skip ci] 7 years ago
UPGRADE.md don't convert int to string if db type of column is numeric (#18741) 3 years ago
Yii.php re-added `require` that will break if autoloader is not configured 7 years ago
classes.php release version 2.0.42 3 years ago
composer.json Allow jQuery 3.6 to be installed 3 years ago
yii Enable `include` rule in php-cs-fixer (#14418) 7 years ago
yii.bat Fixed copyright year in batch files 10 years ago

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.

Refer to Bower and NPM Assets installation to select an asset installation method.

Either run

composer require yiisoft/yii2

or add

"yiisoft/yii2": "~2.0.0",

to the require section of your composer.json.