danielss89 / zfc-user-admin
An administration interface for ZfcUser.
Installs: 19 258
Dependents: 2
Suggesters: 0
Security: 0
Stars: 36
Watchers: 15
Forks: 45
Open Issues: 18
Requires
- php: >=5.3.3
- zf-commons/zfc-admin: >=0.1.1
- zf-commons/zfc-user: >=0.1.1
This package is not auto-updated.
Last update: 2024-11-18 11:49:55 UTC
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
update
command on composer
Manually
- Clone this project into your
./vendor/
directory and enable it in yourapplication.config.php
file. - Clone
https://github.com/juriansluiman/ZfcAdmin
into your./vendor/
directory and enable it in yourapplication.config.php
file.
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