2017 © Pedro Peláez
 

library mdg-multi-user

ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.

image

michaelgooden/mdg-multi-user

ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.

  • Friday, August 9, 2013
  • by MichaelGooden
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

MdgMultiUser Dependency Status

Created by Michael Gooden (#MichaelGooden)., (*1)

I can usually be found on #zftalk on Freenode if you need help setting this up., (*2)

Introduction

MdgMultiUser is a module for Zend Framework 2 that enables you to configure and use multiple instances of the ZfcUser user registration and authentication module., (*3)

Requirements

Installation

Main Setup

With composer

  1. Add this project to your composer.json:, (*4)

    "require": {
        "michaelgooden/mdg-multi-user": "0.1.*"
    }
    
  2. Now tell composer to download MdgMultiUser by running the command:, (*5)

    $ php composer.phar update
    

Post installation

  1. Enabling it in your application.config.phpfile., (*6)

    <?php
    return array(
        'modules' => array(
            // ...
            'MdgMultiUser',
        ),
        // ...
    );
    

Post-Install: Zend\Db

  1. You can use the schema provided by ZfcUser, just change the table name for each subsystem you setup., (*7)

  2. This module does require a minimal amount of configuration to work. An example configuration file has been provided ./config/mdgmultiuser.example.global.php.dist., (*8)

    Copy this file to your projects ./config/autoload/ folder, and edit the examples to suit your requirements., (*9)

    Importantly, you will be required to setup a full route structure for any subsystems you wish to have., (*10)

Usage Notes

In order to access the view helpers and controller plugins, you need to call a different set of commands., (*11)

  • Controller plugin ZfcUserAuthentication() maps to MdgMultiUserAuthentication($alias)
  • View helper ZfcUserDisplayName() maps to MdgMultiUserDisplayName($alias)
  • View helper ZfcUserIdentity() maps to MdgMultiUserIdentity($alias)
  • View helper ZfcUserLoginWidget() maps to MdgMultiUserLoginWidget($alias)

In all cases $alias must be replaced by the name of your subsystem. This is derived from the key of the config array under 'mdgmultiuser'., (*12)

The Versions

09/08 2013

dev-master

9999999-dev https://github.com/MichaelGooden/MdgMultiUser

ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.

  Sources   Download

BSD-3-Clause

The Requires

 

user zf2 zfcuser multiuser

09/08 2013

0.1.1

0.1.1.0 https://github.com/MichaelGooden/MdgMultiUser

ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.

  Sources   Download

BSD-3-Clause

The Requires

 

user zf2 zfcuser multiuser

09/08 2013

dev-develop

dev-develop https://github.com/MichaelGooden/MdgMultiUser

ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.

  Sources   Download

BSD-3-Clause

The Requires

 

user zf2 zfcuser multiuser

09/08 2013

0.1.0

0.1.0.0 https://github.com/MichaelGooden/MdgMultiUser

ZF2 module to allow multiple concurrent instances of ZfcUser, for independant user systems.

  Sources   Download

BSD-3-Clause

The Requires

 

user zf2 zfcuser multiuser