PHPackages                             fferriere/pomm-project-fos-user-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. fferriere/pomm-project-fos-user-bundle

ActiveLibrary

fferriere/pomm-project-fos-user-bundle
======================================

FosUserBundle manager for Pomm

2.0.1(10y ago)4145MITPHP

Since Jan 13Pushed 10y ago2 watchersCompare

[ Source](https://github.com/fferriere/PommFosUserBundle)[ Packagist](https://packagist.org/packages/fferriere/pomm-project-fos-user-bundle)[ RSS](/packages/fferriere-pomm-project-fos-user-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

PommFosUserBundle
=================

[](#pommfosuserbundle)

FosUserBundle driver for PommProject 2

This bundle permit to use FosUserBundle with Pomm easily.

Installation
------------

[](#installation)

With composer :

```
composer require fferriere/pomm-project-fos-user-bundle ~2.0

```

You can execute [SQL script](src/lib/Resources/database/tables.sql) to create table. It's an example to use with default configuration.

You use another table's name with `pomm_fos_user.table_name` parameter.

Configuration
-------------

[](#configuration)

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

```
fos_user:
    db_driver: custom
    firewall: main
    user_class: PommProject\PommFosUserBundle\Entity\UserEntity
    service:
        user_manager: pomm_fos_user_bundle.user_manager

```

And that's all.

Overriding
----------

[](#overriding)

It's possible you need to inherit `Pomm\Bundle\FosUserBundle\Entity\User` on your own bundle and with its specific Model. You can so overriding `pomm_fos_user.user_model_class` parameter (on `YourBundlePath/Resources/config/service.yml` or on `app.config.config.yml`) to get the good entity's map on pomm user manager.

Use uuid
--------

[](#use-uuid)

It's possible to use uuid on id column and it's not difficult.

Create a new UserManager as MyBundle\\Model\\MyModel :

```
