ee/lightuser-bundle

Inspired by FOSUserBundle but much simpler. Perfect when you just need a simple user.

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 1

Open Issues: 0

Type:symfony-bundle

dev-master 2013-09-24 19:55 UTC

This package is not auto-updated.

Last update: 2024-11-18 14:58:07 UTC


README

Inspired by FOSUserBundle but much simpler. Perfect when you just need a simple user.

Important Note: This bundle is meant to work with Doctrine ORM only

Installation

Step 1 - Composer

"ee/lightuser-bundle": "dev-master"

Step 2 - Enable bundle

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            [...]
            new EE\LightUserBundle\EELightUserBundle()
        );

    [...]

Step 3 - Create User Entity

Step 4 - Configuration

You must provide entity class (yup, that one from previous step)

# app/config/config.yml

ee_light_user:
    entity:
        user:
            class: Acme\DemoBundle\Entity\User

Register user provider

# app/config.security.yml

providers:
    lightuser:
        id: ee_light_user.user_provider

Cookbook recipes