Skip to content

Manage Role / Group in Symfony. Replace the security.yml role hierarchy in complex application

Notifications You must be signed in to change notification settings

2lenet/CredentialBundle

Repository files navigation

CredentialBundle

PHPStan status PHPUnit status PHPCS status

This bundle provides an easy credential manager to handle complex applications.

Its purpose is to facilitate the association between user groups and roles.

img.png

Installation

composer require 2lenet/credential-bundle

Setting up

Configure the config/routes/credential.yaml file:

credential:
    resource: '@LleCredentialBundle/Resources/config/routes.yaml'

Next, generate the migration:

php bin/console make:migration

Check that the changes are correct and execute them:

php bin/console doctrine:migrations:migrate

Recipes

About

Manage Role / Group in Symfony. Replace the security.yml role hierarchy in complex application

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7