PHPackages                             craftcamp/abac-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. craftcamp/abac-bundle

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

craftcamp/abac-bundle
=====================

Symfony Bundle to wrap php-abac library into symfony applications

0.3.3(7y ago)154043[1 issues](https://github.com/CraftCamp/abac-bundle/issues)MITPHP

Since May 27Pushed 7y ago8 watchersCompare

[ Source](https://github.com/CraftCamp/abac-bundle)[ Packagist](https://packagist.org/packages/craftcamp/abac-bundle)[ RSS](/packages/craftcamp-abac-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

CraftCamp ABAC Bundle
=====================

[](#craftcamp-abac-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/4b4052b6b4fe79419aef536e5379932264790028f56ff243f3e5c0da73a050ee/68747470733a2f2f706f7365722e707567782e6f72672f637261667463616d702f616261632d62756e646c652f762f737461626c65)](https://packagist.org/packages/craftcamp/abac-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/d29a896068fa835eae3199f2a8b08211f4f9404c7e123cdf777dea9b3fd0f96c/68747470733a2f2f706f7365722e707567782e6f72672f637261667463616d702f616261632d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/craftcamp/abac-bundle)[![Build Status](https://camo.githubusercontent.com/75ad91eef8d00403e092d6610117ef297127d4626452698799981fca92dfab47/68747470733a2f2f7472617669732d63692e6f72672f437261667443616d702f616261632d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/CraftCamp/abac-bundle)[![Code Coverage](https://camo.githubusercontent.com/91097045a8c38044d9f3c7b973047013338eb094baca5a8307dca74b3ce87ecd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f437261667443616d702f616261632d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CraftCamp/abac-bundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6ad1a510f0eae36988c78d072f9895295315195205097af0550a36584282b42d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f437261667443616d702f616261632d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CraftCamp/abac-bundle/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/b0f3644ec4e10f6a65852114f6b62c7a52efbe615409b92864234c593b0a0e79/68747470733a2f2f706f7365722e707567782e6f72672f637261667463616d702f616261632d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/craftcamp/abac-bundle)[![License](https://camo.githubusercontent.com/8a08f45f1f1c81644c4617a26eb22985ccc0bf6aa264b76100bafc4ece3bf14d/68747470733a2f2f706f7365722e707567782e6f72672f637261667463616d702f616261632d62756e646c652f6c6963656e7365)](https://packagist.org/packages/craftcamp/abac-bundle)

Introduction
------------

[](#introduction)

This Symfony bundle implements support in the Symfony framework for the [PHP ABAC library](https://github.com/CraftCamp/php-abac).

This is meant to implement in Symfony applications a new way to handle access control.

This method is based on a policy rules engine, analyzing user and resources attributes instead of roles alone.

Roles can be used, considering them as user attributes.

The advantages of this method is to easily define rules checking user and accessed resources attributes to handle access control.

```
