PHPackages                             riddlestone/brokkr-acl - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. riddlestone/brokkr-acl

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

riddlestone/brokkr-acl
======================

A delegating Laminas ACL module

v0.2.0(5y ago)01262BSD-3-ClausePHPPHP ^7.3CI failing

Since Apr 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/riddlestone/brokkr-acl)[ Packagist](https://packagist.org/packages/riddlestone/brokkr-acl)[ RSS](/packages/riddlestone-brokkr-acl/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (7)Versions (5)Used By (2)

Riddlestone Brokkr-Acl
======================

[](#riddlestone-brokkr-acl)

A [Laminas](https://github.com/laminas) module to enable selectively populating [Laminas ACL](https://github.com/laminas/laminas-permissions-acl) at query time

Sometimes your project has a LOT of roles, resources and rules. This module has plugin managers for those things, and only requests and loads into the ACL the minimum objects needed to answer a query.

Installation
------------

[](#installation)

Installation of this module uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
composer require riddlestone/brokkr-acl
```

Usage
-----

[](#usage)

This module adds four plugin managers, your module/project can provide configuration to any of these.

### RoleManager

[](#rolemanager)

To provide roles for the ACL, implement `Laminas\ServiceManager\FactoryInterface`, and then add your class to the `acl_role_manager` config:

```
