2017 © Pedro Peláez
 

symfony-bundle role-core-bundle

The DCSRoleCoreBundle provides the basic services for the role management

image

dcs/role-core-bundle

The DCSRoleCoreBundle provides the basic services for the role management

  • Saturday, December 31, 2016
  • by damianociarla
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Build Status Coverage Status, (*1)

DCSRoleCoreBundle

This bundle provides the basic services for the role management. Also it provides an option to set a default user role during the authentication process., (*2)

The base configuration requires that you specify the provider for the recovery of roles. They were made available two providers to install:, (*3)

DCSRoleProviderORMBundle Provider for the management of user roles using Doctrine ORM., (*4)

DCSRoleProviderArrayBundle Provider for the management of user roles using an array., (*5)

Installation

Prerequisites

This bundle requires DCSSecurityCoreBundle., (*6)

Require the bundle

Run the following command:, (*7)

$ composer require dcs/role-core-bundle "~1.0@dev"

Composer will install the bundle to your project's vendor/dcs/role-core-bundle directory., (*8)

Enable the bundle

Enable the bundle in the kernel:, (*9)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new DCS\Role\CoreBundle\DCSRoleCoreBundle(),
        // ...
    );
}

Configure

Now that you have properly enabled this bundle, the next step is to configure it to work with the specific needs of your application., (*10)

Add the following configuration to your config.yml., (*11)

dcs_role_core:
    provider: YOUR_PROVIDER_SERVICE

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker., (*12)

The Versions

31/12 2016

dev-master

9999999-dev

The DCSRoleCoreBundle provides the basic services for the role management

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

user symfony role