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.
 
 
 
 
 
Dmitry Dorogin 21d2d72534 Fixes #14487: Changed i18n message error to warning 7 years ago
..
assets Fixes #13738: Fixed `getQueryParams()` method in `yii.js` to correctly parse URL with question mark and no query parameters 8 years ago
base Added yii\base\Object for backwards compatibility 7 years ago
behaviors Additional fix for SluggableBehavior immutability after merge of #13449 7 years ago
caching Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
captcha Revert "Fixes #14294: Added `InputWidget::renderInput()` to move behavior described in `InputWidget` class docs to the class itself" 7 years ago
console Fixes #14188: Add constants and function for sysexits(3) to `ConsoleHelper` 7 years ago
data Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
db Add support for an older SQLite in constraints (fixes #14483) (#14497) 7 years ago
di Added yii\base\Object for backwards compatibility 7 years ago
filters Fixed #14469: updated RFC links 7 years ago
grid Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
helpers Fix docs of a base file helper (#14477) [skip ci] 7 years ago
i18n Fixes #14487: Changed i18n message error to warning 7 years ago
log Fixes #14341: Fixed regression in error handling introduced by fixing #14264 7 years ago
mail Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
messages Added configuration for headers in PHP files generated by `message/extract` command (#14417) 7 years ago
mutex Fixes #14206: `MySqlMutex`, `PgsqlMutex` and `OracleMutex` now use `useMaster()` to ensure lock is aquired on the same DB server 7 years ago
rbac Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
requirements Enable `include` rule in php-cs-fixer (#14418) 7 years ago
rest Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
test Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
validators Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
views Added configuration for headers in PHP files generated by `message/extract` command (#14417) 7 years ago
web Fixes #14406: Fixed caching rules in `yii\web\UrlManager` with different `ruleConfig` configuration 7 years ago
widgets Revert "Fixes #14294: Added `InputWidget::renderInput()` to move behavior described in `InputWidget` class docs to the class itself" 7 years ago
.gitignore psr-4 move 11 years ago
.htaccess psr-4 move 11 years ago
BaseYii.php Enable `include` rule in php-cs-fixer (#14418) 7 years ago
CHANGELOG.md Fixes #14487: Changed i18n message error to warning 7 years ago
LICENSE.md updated license information. 11 years ago
README.md Update composer fxp plugin version in docs and travis scripts 8 years ago
UPGRADE.md Added yii\base\Object for backwards compatibility 7 years ago
Yii.php Enable `include` rule in php-cs-fixer (#14418) 7 years ago
classes.php Added yii\base\Object for backwards compatibility 7 years ago
composer.json Fixes #14286: Used primary inputmask package name instead of an alias 7 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.

Either run

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

or add

"yiisoft/yii2": "~2.0.0",

to the require section of your composer.json.