A new Symfony bundle for basic user management.
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
- Adding user management to your Symfony application
- Commanding a decoupled User entity
- Decoupling the User entity with a new Symfony User Bundle
- Building a new Symfony User Bundle
<?php
// 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,
],
]);
};composer require annot form validator twig security messenger orm
composer require maker --dev
bin/console make:user:msgphpAnd be done.
- Read the main documentation
- Browse the API documentation
- Try the Symfony demo application
- Get support on Symfony's Slack
#msgphpchannel or raise an issue
This repository is READ ONLY. Issues and pull requests should be submitted in the main development repository.