lracicot/fosusermanagerbundle

A CRUD user manager for the FOSUserBundle

dev-master 2017-05-05 06:25 UTC

This package is not auto-updated.

Last update: 2024-06-09 01:34:04 UTC


README

This bundle is an admin panel for the users from the Friends Of Symfony User Bundle. It allow to perform basic CRUD operations on the users.

Install

  1. Install the FOSUserBundle
  2. Download lracicotFOSUserManagerBundle using composer
  3. Enable the Bundle
  4. Import lracicotFOSUserManagerBundle routing files

Step 1: Install the FOSUserBundle

Follow the instructions from the FOSUserBundle documentation.

Step 2: Download lracicotFOSUserManagerBundle using composer

Require the bundle using composer:

$ composer require "lracicot/fosusermanagerbundle" "v0.1-alpha"

Step 3: Register the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new lracicot\FOSUserManagerBundle\lracicotFOSUserManagerBundle(),
        // ...
    );
}

Step 4: Import lracicotFOSUserManagerBundle routing files

# app/config/routing.yml
lracicot_fos_user_manager:
    resource: "@lracicotFOSUserManagerBundle/Resources/config/routing.xml"
    prefix:   /admin/user/

You can change the prefix for whatever you want to match your application configurations.

Contributing

Any code review, suggestions or pull requests would be appreciated. Make sure that your changes have tests.