承接 michaelgooden/mdg-multi-user 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

michaelgooden/mdg-multi-user

Composer 安装命令:

composer require michaelgooden/mdg-multi-user

包简介

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

README 文档

README

Created by Michael Gooden (#MichaelGooden).

I can usually be found on #zftalk on Freenode if you need help setting this up.

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.

Requirements

Installation

Main Setup

With composer

  1. Add this project to your composer.json:

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

    $ php composer.phar update

Post installation

  1. Enabling it in your application.config.phpfile.

    <?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.

  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.

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

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

Usage Notes

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

  • 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'.

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-08-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固