Basic user management (the `User` domain)

Installs: 5 595

Dependents: 1

Suggesters: 0

Stars: 86

Watchers: 11

Forks: 9


v0.7.0 2018-09-26 17:06 UTC


A new Symfony bundle for basic user management.

Latest Stable Version

This package is part of the Message driven PHP project.

MsgPHP is a project that aims to provide (common) message based domain layers for your application. It has a low development time overhead and avoids being overly opinionated.


composer require msgphp/user-bundle


  • Symfony 3.4 / 4.0 ready
  • Symfony console commands
  • Symfony messenger commands & events
  • Symfony security infrastructure
  • Symfony validators
  • Doctrine persistence
  • Credential independent (supports e-mail, nickname, etc.)
  • Multiple username support
  • Primary and secondary user e-mails
  • Disabled / enabled users
  • User roles
  • User attribute values

Blog Posts


// config/packages/msgphp_user.php

use MsgPhp\User\Entity\User;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return function (ContainerConfigurator $container) {
    $container->extension('msgphp_user', [
        'class_mapping' => [
            User::class => \App\Entity\User\User::class,

Feeling Lazy?

composer require annot form validator twig security messenger orm
composer require maker --dev
bin/console make:user:msgphp

And be done.



This repository is READ ONLY. Issues and pull requests should be submitted in the main development repository.