Files
yii2/extensions
Carsten Brandt dc7aa25ae7 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (23 commits)
  datepicker should show empty field when value is empty string
  complete docs about Nav to include the style
  Update tutorial-mailing.md
  Reverted #3665 (reverted from commit 2aa394996371c2b081bce4adfbc3f1c7a18b15cc)
  Unit test for `yii\console\controllers\AssetController` advanced
  Doc comments for `yii\console\controllers\AssetController` extended
  `yii\console\controllers\AssetController` now handles bundle files from external resources properly
  skip requirements checker test on HHVM
  Update README.md in guide-es [skip ci]
  Add helper-array.md in guide-es [skip ci]
  a note about database naming style
  Add syntax highlighting [skip ci]
  docs/guide-ja/tutorial-core-validators.md - completed [ci skip]
  docs/guide-ja/tutorial-core-validators.md - WIP [ci skip]
  docs/guide-ja/tutorial-core-validators.md - WIP [ci skip]
  Fixed `\yii\authclient\OAuth2::refreshAccessToken()` does not save fetched token
  `\yii\authclient\AuthAction::defaultCancelUrl()` changed to use `yii\web\User::loginUrl`
  MongoDB PHP extension min version raised up to 1.5.0
  Были различные ссылки в русском гайде - привел все к английскому виду ссылки. Файлы по этим ссылкам еще не существуют поэтому переименовывать их и не нужно.
  Fixed typo.
  ...
2015-01-07 22:45:42 +01:00
..
2014-12-07 11:46:05 -05:00
2014-12-07 11:46:05 -05:00
2014-12-07 11:46:05 -05:00
2014-12-07 11:46:05 -05:00

This folder contains official Yii 2 extensions.

To add a new extension named xyz (must be in lower case), take the following steps:

  1. create a folder named xyz under yii and put all relevant source code there;
  2. create the following accessory files (please refer to any existing extension):
    • composer.json
    • README.md
    • CHANGELOG.md
    • LICENSE.md
  3. ask Qiang to create a subsplit for xyz and a composer package named yii2-xyz;
  4. If an extension depends on external bower/npm packages:
    • in the composer.json file of the extension, list the dependencies in the format of 'bower-asset/PackageName': '1.1';
    • create an asset bundle class to list the needed js/css files from the package. The sourcePath property of the bundle should point to the distribution path of the package, such as @bower/PackageName, or @bower/PackageName/dist.
  5. modify /composer.json and add yiisoft/yii2-xyz to the replace section. Also add any bower/npm dependencies to the require section.