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.
 
 
 
 
 
Qiang Xue 6c0dde6f5e Fixes #5143: yii\bootstrap\ActiveField::label() should not encode label if it is explicitly specified. [skip ci] 10 years ago
..
apidoc composer.json tabs -> spaces 10 years ago
authclient composer.json tabs -> spaces 10 years ago
bootstrap Fixes #5143: yii\bootstrap\ActiveField::label() should not encode label if it is explicitly specified. [skip ci] 10 years ago
codeception composer.json tabs -> spaces 10 years ago
composer composer.json tabs -> spaces 10 years ago
debug Use text/plain part of multipart message for text body and charset in debug mail panel. 10 years ago
elasticsearch removed support for unlinkAll() from elasticsearch 10 years ago
faker composer.json tabs -> spaces 10 years ago
gii improved version constraints for bower asset packages 10 years ago
imagine composer.json tabs -> spaces 10 years ago
jui improved version constraints for bower asset packages 10 years ago
mongodb composer.json tabs -> spaces 10 years ago
redis Merge pull request #4944 from yiisoft/redis-fixes 10 years ago
smarty composer.json tabs -> spaces 10 years ago
sphinx composer.json tabs -> spaces 10 years ago
swiftmailer composer.json tabs -> spaces 10 years ago
twig composer.json tabs -> spaces 10 years ago
README.md Adjusted dependency versions to stable ones. 10 years ago

README.md

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.