PHPackages                             open20/amos-privileges - 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. open20/amos-privileges

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

open20/amos-privileges
======================

AMOS plugin for privileges management (role, permission, domains.. )

1.3.1(2y ago)02692PHPPHP &gt;=5.4.0

Since Apr 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/regionelombardia-open20/open2-privileges)[ Packagist](https://packagist.org/packages/open20/amos-privileges)[ Docs](http://www.open20.it/)[ RSS](/packages/open20-amos-privileges/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (16)Used By (2)

README
======

[](#readme)

Amos Privileges module

### What is this repository for?

[](#what-is-this-repository-for)

This repository is used to allow users with admin role to view and manage user privileges (rbac roles and permission and customized privileges eg.cwh if present)

### How do I get set up?

[](#how-do-i-get-set-up)

Download with composer, add in your composer json:

```
"open20/amos-privileges": "dev-master",

```

Enable the Privileges modules in modules-amos.php, add :

```
'privileges' => [
    'class' => 'open20\amos\privileges\AmosPrivileges',
]

```

add privileges migrations to console modules (console/config/migrations-amos.php):

```
'@vendor/open20/amos-privileges/src/migrations',

```

it is possible to override some module properties:

```
/**
 * @var array roles that must not be considered by Privileges module
 */
public $blackListRoles = ['AMMINISTRATORE_CRTT'];
/**
 * @var array if set, consider only the roles in this list
 */
public $whiteListRoles = [];
/**
 * @var array array of modules for which privileges are not considered
 */
public $blackListModules = ['inforeq'];
/**
 * @var array list of platform roles (not from a single plugin) - override this if necessary
 */
public $platformRoles = ['ADMIN', 'BASIC_USER'];

```

override of the first property example:

```
'privileges' => [
    'class' => 'open20\amos\privileges\AmosPrivileges',
    'blackListRoles' => [ 'ROLEA' , 'ROLEB' ]
]

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~187 days

Recently: every ~82 days

Total

9

Last Release

1082d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6eb97765ff9c2a6c83df362376ac9fe8f21e4ac4c3b65fd1e2380233178fe500?d=identicon)[open2.0](/maintainers/open2.0)

---

Top Contributors

[![StefanoCavazzini](https://avatars.githubusercontent.com/u/27275250?v=4)](https://github.com/StefanoCavazzini "StefanoCavazzini (1 commits)")[![waltermazza](https://avatars.githubusercontent.com/u/46817459?v=4)](https://github.com/waltermazza "waltermazza (1 commits)")

---

Tags

yii2privilegesamos

### Embed Badge

![Health badge](/badges/open20-amos-privileges/health.svg)

```
[![Health](https://phpackages.com/badges/open20-amos-privileges/health.svg)](https://phpackages.com/packages/open20-amos-privileges)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
