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 062e1c7e67 Uppercased HTTP methods as required by RFC [skip ci] 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 Fixes #14449: Fix PHP 7.2 compatibility bugs and add explicit closure support in `yii\base\Application` 7 years ago
behaviors Additional fix for SluggableBehavior immutability after merge of #13449 7 years ago
caching Enable `no_useless_else` rule in php-cs-fixer (#14420) 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 Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
db Fixes #14449: Fix PHP 7.2 compatibility bugs and add explicit closure support in `yii\base\Application` 7 years ago
di Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
filters Uppercased HTTP methods as required by RFC [skip ci] 7 years ago
grid Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
helpers Fixes #6644: Added `yii\helpers\ArrayHelper::setValue()` 7 years ago
i18n Enable `include` rule in php-cs-fixer (#14418) 7 years ago
log Fixes #14341: Fixed regression in error handling introduced by fixing #14264 7 years ago
mail Enable `no_useless_else` rule in php-cs-fixer (#14420) 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 Enable `include` rule in php-cs-fixer (#14418) 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 Enable `include` rule in php-cs-fixer (#14418) 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 Add `yii\web\Request::getOrigin()` method that returns HTTP_ORIGIN of current CORS request 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 #6644: Added `yii\helpers\ArrayHelper::setValue()` 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 Fixes #14286: Used primary inputmask package name instead of an alias 7 years ago
Yii.php Enable `include` rule in php-cs-fixer (#14418) 7 years ago
classes.php release version 2.0.12 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.