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.
 
 
 
 
 
Herbert Maschke 58792cdac5 Fixes #14664: Add migrate/fresh command to truncate database and apply migrations again 7 years ago
..
assets Fixes #14186, Fixes #14510: yiiActiveForm regressions 7 years ago
base Added yii\base\Object for backwards compatibility 7 years ago
behaviors Fix CS (#14665) 7 years ago
caching Fixing example in the documentation (#14613) [skip ci] 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 #14664: Add migrate/fresh command to truncate database and apply migrations again 7 years ago
data Applied code style fixes 7 years ago
db Fixed batchInsert casting of double values according to locale (#14448) 7 years ago
di Added yii\base\Object for backwards compatibility 7 years ago
filters Fix CS (#14665) 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 Fix CS (#14665) 7 years ago
log Fixes #14341: Fixed regression in error handling introduced by fixing #14264 7 years ago
mail Applied code style fixes 7 years ago
messages Updated messages for ES [skip ci] 7 years ago
mutex Applied code style fixes 7 years ago
rbac Fixes #14513: Updated phpdoc and added tests for yii\rbac\ManagerInterface::assign and yii\rbac\ManagerInterface::revoke functions (#14528) 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 Fixed `yii\validators\ExistValidator` and `yii\validators\UniqueValidator` throw exception in case they are set for `yii\db\ActiveRecord` with `$targetClass` pointing to NOSQL ActiveRecord 7 years ago
views Added phpdoc to migration template [skip ci] 7 years ago
web Fix CS (#14665) 7 years ago
widgets Fixes #14596: Fix event call on init in `yii\widgets\BaseListView` 7 years ago
.gitignore psr-4 move 11 years ago
.htaccess psr-4 move 11 years ago
BaseYii.php Restored part of original Yii::trace documentation (#14534) [skip ci] 7 years ago
CHANGELOG.md Fixes #14664: Add migrate/fresh command to truncate database and apply migrations again 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 #13780: Added support for trusted proxies in `yii\web\Request` 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.