定制 bishwopl/bpluser 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

bishwopl/bpluser

Composer 安装命令:

composer require bishwopl/bpluser

包简介

An user registration and authentication module for laminas-mvc based on bishwopl/zf3-circlical-user

README 文档

README

An user registration, authentication and authorization module for Laminas-MVC based on saeven/zf3-circlical-user

Features

  • User Registration
  • Forgot password feature
  • View helpers
  • Laminas Developers Toolbar extention

Requirements

Check composer.json file for requirements.

Installation

  • Run following from project root directory
    $ composer require bishwopl/bpluser
  • Enable module in application.config.php
<?php
return [
    'modules' => [
        // ...
        'CirclicalUser',
        'BplUser',
    ],
    // ...
];
  • Follow configuration step
  • Create database using following command
    ./vendor/doctrine/doctrine-module/bin/doctrine-module orm:schema-tool:create

Configuration

bishwopl/bpluser & bishwopl/zf3-circlical-user

Copy config/bpluser.local.php.dist file to your configuration folder and remove .dist from its name. Module configuration required for bishwopl/zf3-circlical-user is also included in this config file so separate configuration for bishwopl/zf3-circlical-user is not necessary.

Options

Controller plugins

  • Change Password
    $this->bpluser()->changePassword(UserInterface $user, $newPassword);
  • Change Email
    $this->bpluser()->changeEmail(UserInterface $user, $newEmail);
  • Is Email in use
    $this->bpluser()->isEmailInUse($email);
  • Verify password
    $this->bpluser()->verifyPassword(UserInterface $user, $password);
  • Save Profile
    $this->bpluser()->saveProfile(UserInterface $user);
  • Can access action
    $this->bpluser()->isAllowedAction($controllerName, $action);

To do

  • Add Remember Me feature

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2018-02-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固