An open API service indexing awesome lists of open source software.

https://github.com/2lenet/credentialbundle

Manage Role / Group in Symfony. Replace the security.yml role hierarchy in complex application
https://github.com/2lenet/credentialbundle

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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](docs/img/dashboard.png)

## Installation

```bash
composer require 2lenet/credential-bundle
```

## Setting up

Configure the `config/routes/credential.yaml` file:

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

Next, generate the migration:

```bash
php bin/console make:migration
```

Check that the changes are correct and execute them:

```bash
php bin/console doctrine:migrations:migrate
```

## Recipes

- [List of available commands](docs/commands.md)
- [Remote repository integration](docs/remote_repository.md)