User composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/c006/yii2-user.git"
},
{
"type": "vcs",
"url": "https://github.com/c006/yii2-email-templates.git"
},
]
'modules' => [
'user' => [
'class' => 'c006\user\Module',
'loginPath' => '/account/dashboard',
],
],
config/params.php
'siteName' => 'My Site',
'siteUrl' => 'http://my-site.com',
'user_verfiy_email' => TRUE,
'user_login_path' => '/account',
php composer.phar require --prefer-dist "c006/yii2-core" "*"
php composer.phar require --prefer-dist "c006/yii2-common" "*"
php composer.phar require --prefer-dist "c006/yii2-alerts" "*"
.
.
.
.
.
.
.