varuog/zfe-user 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

varuog/zfe-user

Composer 安装命令:

composer require varuog/zfe-user

包简介

Zend expressive 2. User handling (Alpha)

README 文档

README

Notice

It is under active development. (WIP) Not suitable for production.

Description

Commong User handling task for zend expressive 2 application. currently supports MongoDB based database, JSON-API payload. Does not includes any view templates or view helpers. Its end points meant to be consumed by API clients. Though it is easily possible to compose a view from UserService and use customized view.

Features

  1. User is able to register and login
  2. User can reset their password and email with mail verification. auto discarded reset tokens.
  3. Customizable mail template for notifying user and admin
  4. User can be fetched via url
  5. Access token based authentication

Future plan

  1. Currently it only supports mongodb. would add doctrine ORM (mysql) and zend-db
  2. Currently it only supports json-api payload. Would add other payload.
  3. Add event hook for all process

Installation

$composer require varuog/zfe-user

Copy file zfe-user.global.php from instllation directory to config\autoload\zfe-user.global.php.dist and rename it to zfe-user.global.php

Copy data\language folder from zfe-user and paste it to application data directory Create other directory data\proxies, data\hydrators, data\document

Copy template folder from zfe-user and paste to application template folder Add this code block to config\atuoload\dependencies.global.php under dependency keys

 'dependencies' => [
            /**
             * Copy this block
             */
            'delegators' => [
           
           /**
             * It should be called from other project
             */
            Application::class => [
                \ZfeUser\RouteProvider::class,
            ],
            /**
             * Set up translator resource
             */
            Zend\I18n\Translator\TranslatorInterface::class => [
                \ZfeUser\Factory\Delegator\TranslatorDelegatorFactory::class
            ]
        ],
]

Credits

Abstract Factories for all action are based on @xtreamwayz one ActionFactory for all

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-06-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固