From 369b9c27d9fa4e3c84fb8245c32448473382069e Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 29 Dec 2013 23:46:47 -0500 Subject: [PATCH] added README for extensions. --- extensions/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extensions/README.md diff --git a/extensions/README.md b/extensions/README.md new file mode 100644 index 0000000..6c90810 --- /dev/null +++ b/extensions/README.md @@ -0,0 +1,13 @@ +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 `xyz` to the `replace` section; +5. modify `/build/controllers/PhpDocController.php` about the method `actionProperty()`.