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.
|
|
|
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. modify `/composer.json` and add `yiisoft/yii2-xyz` to the `replace` section;
|
|
|
|
5. If an extension contains js/css files or depends on external bower packages:
|
|
|
|
* create `bower.json`
|
|
|
|
* ask Qiang to register a bower package with the name `yii2-xyz`
|