2017 © Pedro Peláez
 

library pomm-project-fos-user-bundle

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

image

evkoh/pomm-project-fos-user-bundle

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

  • Tuesday, December 19, 2017
  • by EvKoh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PommFosUserBundle

FosUserBundle driver for PommProject 2, (*1)

This bundle permit to use FosUserBundle with Pomm easily., (*2)

Installation

With composer :, (*3)

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., (*4)

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

Configuration

In app/config/config.yml, add configuration below :, (*6)

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., (*7)

Overriding

You can use another table/model to store your users., (*8)

In app/config/config.yml, change configuration below :, (*9)

parameters: pomm_fos_user.user_model_class: Path\To\MyOwnUserModel, (*10)

fos_user: user_class: Path\To\MyOwnUser, (*11)

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

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

The Versions

19/12 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Avatar EvKoh

pomm fos user bundle

03/02 2016

2.0.1

2.0.1.0

FosUserBundle manager for Pomm

  Sources   Download

MIT

The Requires

 

by Florian FERRIERE

pomm fos user bundle

21/01 2016

dev-pomm-2

dev-pomm-2

FosUserBundle manager for Pomm

  Sources   Download

MIT

The Requires

 

by Florian FERRIERE

pomm fos user bundle

15/01 2016

2.0.0

2.0.0.0

FosUserBundle manager for Pomm

  Sources   Download

MIT

The Requires

 

by Florian FERRIERE

pomm fos user bundle