Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (36 loc) · 1.43 KB

File metadata and controls

51 lines (36 loc) · 1.43 KB

Contributing to msgphp2

For some reason original msgphp/* repositories were marked as archived by an administrator on Jun 29, 2023 and not available any more. Since we are using this bundles in production - we created mirror msgphp2/* Feel free to use and contibute!

User Bundle

A new Symfony bundle for basic user management.

Latest Stable Version

Installation

composer require msgphp2/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