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.
 
 
 
 
 
Alexander Makarov e1fe04901a
Adjust changelog
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 Fix #18817: Use `paragonie/random_compat` for random bytes and int generation 3 years ago
behaviors Scrutinizer fixes (#18685) 3 years ago
caching Fix #18817: Use `paragonie/random_compat` for random bytes and int generation 3 years ago
captcha Fix #18817: Use `paragonie/random_compat` for random bytes and int generation 3 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 Document that link() will not trigger events/behaviors (#18683) 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 Fix #18807: Fix replacing source whitespaces and optimize code of `yii\helpers\BaseStringHelper::mb_ucwords()` 3 years ago
i18n Fix #18674: Added more user-friendly exception messages for `yii\i18n\Formatter` 3 years ago
log Preventing breaking profiling messages when flushing (#18800) 3 years ago
mail Fix #18817: Use `paragonie/random_compat` for random bytes and int generation 3 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 Optimize `yii\validators\ExistValidator` 3 years ago
views Terminate unterminated JS statement in views/ErrorHandler/exception.php (#17611) 5 years ago
web Fix #18789: Added JSONP support in `yii\web\JsonParser::parse()` 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 Adjust changelog 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 Fix #18817: Use `paragonie/random_compat` for random bytes and int generation 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.