User Administration Module for Yii2. This module wraps and extends the default user management interface provided by the framework. Several parts of this module however, are designed to be fully compatible with the factory-provided implementations related to user management. For this, several config
Provides various interfaces to deal with routine user management tasks.
This extension is under heavy development and requires the use of Yii framework version 2.0.7 This version of the framework is currently in active development
This module should be considered highly unstable and it's use is discouraged until further notice (really)
Version 0.1 Release notes:
This module aims to be a clean, modular and simple user-administration module which can be used for Yii 2 projects version 2.0.7 and up.
A first goal is to wrap the user management functionalities provided by the yii2-advanced template to allow easy porting to other templates, such as the yii2-basic-template. Essentially, this module can functionally achieve the same as provided by the advanced template, with little to no changes made to the interface provided and minor changes to made layout.
Other than providing the stock functionality, a lot has been made configurable:
- Email-based login by default, over storage of a username/email combination;
- Enable/Disable guest signup;
- Graceful handling of (optional) account status codes;
A next goal deals with the implementation of some missing core user account functionality:
- Account Confirmation
- Token Based Authentication
- RBAC Integration
Functionality will be added to this module, as it becomes required for incorporation in further projects. We accept pull-requests!
The following functionality is due expected due in further versions:
- PhpCAS Integration (due version 0.2)
- OAuth Integration (due version 0.3)
- REST API (due version 0.4)
The preferred way to install this extension is through composer.
$ php composer.phar require humanized/yii2-user "dev-master"
require section of your
Add following lines to the configuration file:
'modules' => [ 'user' => [ 'class' => 'humanized\user\Module', ], ],
For full instructions how to configure this module, check the CONFIG-file.
$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-user/migrations
For full instructions on how to use this module, once configured, check the USAGE-file.