dev-master
9999999-devYii2 module providing various mechanisms dealing for dealing with user accounts
GPL-3.0
The Requires
by Jeffrey Geyssens
by François-Xavier de Saint Pern
api user yii2 cli admin gui
Yii2 module providing various mechanisms dealing for dealing with user accounts
Yii2 module wrapping user management related functionality., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
$ php composer.phar require humanized/yii2-account "*"
or add, (*4)
"humanized/yii2-account": "*"
to the require
section of your composer.json
file., (*5)
$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-account/migrations/custom
Or, if you just want the default advanced application template functionality, (*6)
$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-account/migrations/advanced-application-template/
Add following lines to the configuration file:, (*7)
'modules' => [ 'translation' => [ 'class' => 'humanized\translation\Module', ], ],
Adding these lines allows access to the various interfaces provided by the module. Here, the chosen module-name is translation, as such the various routes will be available at translation/controller-id/action-id, though any module-name can be chosen., (*8)
This package contains an urlManager component which extends the urlManager component provided by the Codemix Yii2-LocaleUrls package. Here setup of the default application language and population of the enabled website languages are handled automatically. Other configuration options are inherited between components., (*9)
'components' => [ .. // Languages enabled populated through database storage // Further configuration options available at https://github.com/codemix/yii2-localeurls 'urlManager' => [ 'class' => 'humanized\translation\components\UrlManager', 'enablePrettyUrl' => true, 'showScriptName' => false, ], .. ],
Yii2 module providing various mechanisms dealing for dealing with user accounts
GPL-3.0
api user yii2 cli admin gui