Skip to content

msgphp/user-bundle

Repository files navigation

NOT ACTIVELY SUPPORTED ANY MORE!!

msgphp/* repositories are not actively developed/supported anymore.

Use in production on your own risks.

If you want to do some hotfixes - please do PR directly in target repository instead of previous msgphp/msgphp monorepository

User Bundle

A new Symfony bundle for basic user management.

Latest Stable Version

Installation

composer require msgphp/user-bundle

Configuration

<?php
// config/packages/msgphp_user.php

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

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

Feeling Lazy?

composer require maker --dev
bin/console make:user:msgphp

Documentation

Contributing