PHPackages                             l3/db-user-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. l3/db-user-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

l3/db-user-bundle
=================

Database User Provider for CasBundle (authorize many ROLES from UID)

1.0.4(2y ago)141LGPL-3.0-or-laterPHPPHP &gt;=8.2

Since Aug 1Pushed 2y ago2 watchersCompare

[ Source](https://github.com/l3-team/DbUserBundle)[ Packagist](https://packagist.org/packages/l3/db-user-bundle)[ Docs](https://github.com/l3-team/DbUserBundle)[ RSS](/packages/l3-db-user-bundle/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (5)Dependencies (1)Versions (11)Used By (0)

Database Provider for CAS

Allow authorize many ROLES (Symfony ROLES) from UID (returned by CasBundle or CasGuardBundle) for application Symfony2, Symfony3 and Symfony4 and Symfony5 and Symfony6 and Symfony7

- UID is the id user returned by jasig cas sso server and by the l3-team/CasBundle or l3-team/CasGuardBundle (repository github) or l3/cas-bundle or l3/cas-guard-bundle (repository packagist)
- ROLES are Symfony ROLES prefixed by ROLE\_, example ROLE\_ADMIN, ROLE\_USER, etc...

Installation of the Bundle
--------------------------

[](#installation-of-the-bundle)

- Install the Bundle with this command :

```
composer require l3/db-user-bundle:~1.0

```

Launch the command **composer update** to install the package.

- For Symfony 2 and 3 : add the Bundle in the AppKernel.php file.

```
