Download the PHP package alexdpy/simple-acl-bundle without Composer
On this page you can find all versions of the php package alexdpy/simple-acl-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package simple-acl-bundle
SimpleAclBundle
The easiest way to dynamic Access Control List
This bundle is a wrapper of this ACL library. You want some dynamic ACL ? You think that the symfony/acl component is overkill and really hard to work on it ? You want an "easy to use" bundle ? This bundle is the answer !
Install
Enable the bundle
app/AppKernel.php:
Update your database schema
@see https://github.com/AlexDpy/Acl#update-your-database-schema
Configuration
Create a DatabaseProvider service
Choose an existing DatabaseProvider or create your own, and make it as a service.
app/config/services.yml:
Add a little configuration
app/config/config.yml:
Let's go !
All is OK.
@see https://github.com/AlexDpy/Acl#usage for usage.
Use a CacheProvider
The ACL library uses DoctrineCache. The easiest way to create a CacheProvider service is to use DoctrineCacheBundle.
app/config/config.yml:
@see https://github.com/AlexDpy/Acl#cache
Schema options
app/config/config.yml:
Custom MaskBuilder
app/config/config.yml:
@see https://github.com/AlexDpy/Acl#the-maskbuilder
Usage
@see https://github.com/AlexDpy/Acl#usage
License
MIT