Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Role Core Bundle Laravel Package

dcs/role-core-bundle

View on GitHub
Deep Wiki
Context7

Build Status Coverage Status

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.

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

DCSRoleProviderORMBundle Provider for the management of user roles using Doctrine ORM.

DCSRoleProviderArrayBundle Provider for the management of user roles using an array.

Installation

Prerequisites

This bundle requires DCSSecurityCoreBundle.

Require the bundle

Run the following command:

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

Composer will install the bundle to your project's vendor/dcs/role-core-bundle directory.

Enable the bundle

Enable the bundle in the kernel:

<?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.

Add the following configuration to your config.yml.

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
codifyo/ts-generator-bundle
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor