PHPackages                             jdecool/security-role-checker-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. [Security](/categories/security)
4. /
5. jdecool/security-role-checker-bundle

AbandonedArchivedSymfony-bundle[Security](/categories/security)

jdecool/security-role-checker-bundle
====================================

Provide Symfony services for checking user security roles

1.0.0(9y ago)023MITPHP

Since Jul 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jdecool/SecurityRoleCheckerBundle)[ Packagist](https://packagist.org/packages/jdecool/security-role-checker-bundle)[ Docs](http://github.com/jdecool/SecurityRoleCheckerBundle)[ RSS](/packages/jdecool-security-role-checker-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Symfony security role checker
=============================

[](#symfony-security-role-checker)

[![Build Status](https://camo.githubusercontent.com/3feb95318ef93c26bbd5529bc3f1928c6f6ad4d229c8b62f13891d055a268da9/68747470733a2f2f7472617669732d63692e6f72672f6a6465636f6f6c2f5365637572697479526f6c65436865636b657242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jdecool/SecurityRoleCheckerBundle)[![Build status](https://camo.githubusercontent.com/5152c9802b4b6d9395cefe13d7df4ac1e86ded4ad0d2cc0ab558f43afa4acadb/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6769746875622f6a6465636f6f6c2f7365637572697479726f6c65636865636b657262756e646c653f7376673d74727565)](https://ci.appveyor.com/project/jdecool/securityrolecheckerbundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d1c2d8e051c7d4dae9003cddbf9f0ca678372f9302ecfb4f4b514be9b60e801b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6465636f6f6c2f5365637572697479526f6c65436865636b657242756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jdecool/SecurityRoleCheckerBundle/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/e537bb110ad29a095ba64d5c28ced7f9fdbf10c15ab7aee522ec750d571c6b44/68747470733a2f2f706f7365722e707567782e6f72672f6a6465636f6f6c2f73656375726974792d726f6c652d636865636b65722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/jdecool/security-role-checker-bundle)

This bundle provides Symfony services for checking user security roles.

Compatibility
-------------

[](#compatibility)

This bundle is tested with Symfony 2.7+, but it should be compatible with Symfony 2.3+

### Warning

[](#warning)

The RoleChecker service doesn't emulate an user authentication. It mean that if the authentication process modify user rights, the service can detect roles updates.

Documentation
-------------

[](#documentation)

### Install it

[](#install-it)

Install extension using [composer](https://getcomposer.org):

```
{
    "require": {
        "jdecool/security-role-checker-bundle": "~1.0"
    }
}
```

Enable the extension in your application `AppKernel`:

```
