The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist "c006/yii2-common" "*"
or add
"c006/yii2-common": "*"
to the require section of your composer.json
file.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/c006/yii2-common.git"
}
]
php composer.phar require --prefer-dist "c006/yii2-common" "*"