mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 05:45:33 +08:00
* 'master' of github.com:yiisoft/yii2: Make code coverage work Note about embedded documents added to mongodb extension readme yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format. yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file. Fixes #2661: Added boolean column type support for SQLite Refactored controller creation process. Added back some toArray() implementations. Fixed test break. Update console-migrate.md Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. Fixes #2659 Minor code style fixes for apidoc Changed assertions fix tests
This folder contains official Yii 2 extensions.
To add a new extension named xyz (must be in lower case), take the following steps:
- create a folder named
xyzunderyiiand put all relevant source code there; - create the following accessory files (please refer to any existing extension):
composer.jsonREADME.mdCHANGELOG.mdLICENSE.md
- ask Qiang to create a subsplit for
xyzand a composer package namedyii2-xyz; - modify
/composer.jsonand addxyzto thereplacesection;