承接 evkoh/pomm-project-fos-user-bundle 相关项目开发

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

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

evkoh/pomm-project-fos-user-bundle

Composer 安装命令:

composer require evkoh/pomm-project-fos-user-bundle

包简介

FosUserBundle manager for Pomm 2.x. From an idea of Fferriere

README 文档

README

FosUserBundle driver for PommProject 2

This bundle permit to use FosUserBundle with Pomm easily.

Installation

With composer :

composer require evkoh/pomm-project-fos-user-bundle dev-master

You can execute SQL script to create table. It's an example to use with default configuration.

You can also create users with the fos_user command (See https://symfony.com/doc/current/bundles/FOSUserBundle/command_line_tools.html)

Configuration

In app/config/config.yml, add configuration below :

parameters:
    pomm_fos_user.connection_name: '%YOUR_DATABASE_CONNECTION%'   # Default is "default"

fos_user:
    db_driver: custom
    firewall_name: main
    user_class: EvKoh\PommProjectFosUserBundle\Model\User
    from_email:
        address:        noreply@myhost.ltd
        sender_name:    Do not reply
    service:
        user_manager: pomm_fos_user_bundle.user_manager

And that's all.

Overriding

You can use another table/model to store your users.

In app/config/config.yml, change configuration below :

parameters: pomm_fos_user.user_model_class: Path\To\MyOwnUserModel

fos_user: user_class: Path\To\MyOwnUser

Those two classes must inherit from EvKoh\PommProjectFosUserBundle\Model\User and EvKoh\PommProjectFosUserBundle\Model\UserModel on your own bundle to override this model.

See an example of implementation here : https://github.com/vibby/germ/blob/master/src/GermBundle/Model/Germ/PersonSchema/AccountModel.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固