danielss89/zfc-user-admin
Composer 安装命令:
composer require danielss89/zfc-user-admin
包简介
An administration interface for ZfcUser.
关键字:
README 文档
README
Version 0.1
Introduction
This module provides an interface to create/edit/delete users.
Installation
Using composer
- Add
danielss89/zfc-user-admin(versiondev-master) to requirements - Run
updatecommand on composer
Manually
- Clone this project into your
./vendor/directory and enable it in yourapplication.config.phpfile. - Clone
https://github.com/juriansluiman/ZfcAdmininto your./vendor/directory and enable it in yourapplication.config.phpfile.
Requires
- ZfcAdmin
- ZfcUser
Usage
Override default module config
Copy <zfc-user-admin>/config/ZfcUserAdmin.global.php.dist to <project root>/autoload/ZfcUserAdmin.global.php and
edit required module options (full list will be added to doc later, for now you can find all available options in
<zfc-user-admin>/src/Options/ModuleOptions.php - just look at class properties and convert upper case to
dash plus lower case, e.g. createUserAutoPassword -> create_user_auto_password). E.g.:
<?php
/**
* ZfcUserAdmin Configuration
*/
$settings = array(
'user_mapper' => 'ZfcUserAdmin\Mapper\UserZendDb',
'user_list_elements' => array('Id' => 'id', 'Name' => 'display_name', 'Email address' => 'email'),
'create_user_auto_password' => false,
...
);
/**
* You do not need to edit below this line
*/
return array(
'zfcuseradmin' => $settings
);
TODO: add more usage information and module options list
Authors
统计信息
- 总下载量: 19.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 37
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-04-25