PHPackages                             sivin/role-panel - 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. [Framework](/categories/framework)
4. /
5. sivin/role-panel

ActiveLibrary[Framework](/categories/framework)

sivin/role-panel
================

RolePanel is extension for Nette Framework which change user roles in development mode, where it appears in the debugger bar.

2.0(6y ago)12.1kBSD-3-ClausePHPPHP &gt;=7.1

Since Apr 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SiViN/role-panel)[ Packagist](https://packagist.org/packages/sivin/role-panel)[ RSS](/packages/sivin-role-panel/feed)WikiDiscussions master Synced 1mo ago

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

Role Panel
==========

[](#role-panel)

[![License](https://camo.githubusercontent.com/a39fa34ef942b37ac52b4da3b683ba84360fa6122e1598a6dfecc4855cbf5918/68747470733a2f2f706f7365722e707567782e6f72672f736976696e2f726f6c652d70616e656c2f6c6963656e7365)](https://packagist.org/packages/sivin/role-panel)[![Total Downloads](https://camo.githubusercontent.com/bb7fdd50164cac8169305a2f539f7c509eb08057ec256f2c16c3fbb1ba888c39/68747470733a2f2f706f7365722e707567782e6f72672f736976696e2f726f6c652d70616e656c2f646f776e6c6f616473)](https://packagist.org/packages/sivin/role-panel)

Role Panel is an extension for [Nette Framework](https://nette.org) which change user roles in development mode, where it appears in [Tracy](https://tracy.nette.org) debugger bar.

### Installation

[](#installation)

1. Install library via composer:

    ```
    composer require sivin/role-panel
    ```
2. Update your local configuration (e.g. `config.local.neon`) to register Role Panel to Tracy.

    ```
    extensions:
        rolePanel: SiViN\RolePanel\DI\RolePanelExtension

    #optional
    rolePanel:
        roleNames:
            r154: Section 154
            5001: Writer
    ```

### Usage

[](#usage)

```
services:
    authorizator: MyAuthorizator
```

```
use Nette\Security\Permission;

class MyAuthorizator extends Permission
{
    public function __construct()
    {
        $this->addRole('user');
        $this->addRole('r154');
        $this->addRole('5001');
    }
}
```

### Screenshot

[](#screenshot)

[![](doc/assets/screenshot.png)](doc/assets/screenshot.png)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2222d ago

Major Versions

1.0 → 2.02020-04-17

PHP version history (2 changes)1.0PHP &gt;=5.6

2.0PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17454320?v=4)[Milan Sivák](/maintainers/SiViN)[@SiViN](https://github.com/SiViN)

---

Top Contributors

[![SiViN](https://avatars.githubusercontent.com/u/17454320?v=4)](https://github.com/SiViN "SiViN (4 commits)")

---

Tags

frameworkdebuggingauthorizationpermissionmailingrolerole panelrolepanel

### Embed Badge

![Health badge](/badges/sivin-role-panel/health.svg)

```
[![Health](https://phpackages.com/badges/sivin-role-panel/health.svg)](https://phpackages.com/packages/sivin-role-panel)
```

###  Alternatives

[nette/nette

👪 Nette Framework - innovative framework for fast and easy development of secured web applications in PHP (metapackage)

1.6k2.8M335](/packages/nette-nette)[nextras/mail-panel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them in debugger bar.

741.2M4](/packages/nextras-mail-panel)

PHPackages © 2026

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