2017 © Pedro Peláez
 

yii2-extension easyii-user-module

User module for EasyiiCMS

image

developeruz/easyii-user-module

User module for EasyiiCMS

  • Friday, February 3, 2017
  • by DeveloperUz
  • Repository
  • 2 Watchers
  • 3 Stars
  • 148 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

User module for EasyiiCMS

This module allows add User module to Easy yii2 cms, (*1)

Installation guide

$ php composer.phar require developeruz/easyii-user-module "dev-master"

Replace last line in app/config/web.php, (*2)

return array_merge_recursive($config, require($webroot . '/vendor/noumo/easyii/config/easyii.php'));

with, (*3)

$config = array_merge_recursive($config,
    require($webroot . '/vendor/developeruz/easyii-user-module/config/user_module_config.php'),
    require($webroot . '/vendor/noumo/easyii/config/easyii.php'));
$config['components']['user'] = [ 'identityClass' => 'developeruz\easyii_user\models\User' ];
return $config;

If you don't have installed User module before

Run, (*4)

php yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations

Register and confirm at least one user (you can do it via console command), (*5)

Activate module

Add to app/config/params.php list of admin users for the User module, (*6)

'admins' => ['admin']
 ```
Note: only users with username mentioned in the list above would have access to the User Module.

Run migrations
```php 
php yii migrate/up --migrationPath=@vendor/developeruz/easyii-user-module/migrations

And login to EasyiiCMS admin panel with the user from the User module., (*7)

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

03/02 2017

dev-master

9999999-dev

User module for EasyiiCMS

  Sources   Download

MIT

The Requires

 

module cms yii easyiicms