PHPackages                             potievdev/slim-rbac - 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. potievdev/slim-rbac

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

potievdev/slim-rbac
===================

Role Based Access Control middleware for Slim 3

v1.0.1(7y ago)345.5k5[4 issues](https://github.com/potievdev/slim-rbac/issues)1MITPHPPHP &gt;=5.4.0

Since Dec 21Pushed 3y ago4 watchersCompare

[ Source](https://github.com/potievdev/slim-rbac)[ Packagist](https://packagist.org/packages/potievdev/slim-rbac)[ Docs](https://github.com/potievdev/slim-rbac)[ RSS](/packages/potievdev-slim-rbac/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (9)Used By (1)

 Slim4 RBAC Middleware
=======================

[](#-slim4-rbac-middleware-)

[![Build Status](https://camo.githubusercontent.com/e6ad15a894968fdc07850c1261cd7f6fc89922ee14870a6b43466a744166db3c/68747470733a2f2f6170702e7472617669732d63692e636f6d2f706f746965766465762f736c696d2d726261632e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/potievdev/slim-rbac)[![codecov](https://camo.githubusercontent.com/e28e9b33bc3f0e37870b5cb802dcd9bf02fcaf9f0487cd81cde5be6341218691/68747470733a2f2f636f6465636f762e696f2f67682f706f746965766465762f736c696d2d726261632f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/potievdev/slim-rbac)[![FOSSA Status](https://camo.githubusercontent.com/f477ba897e921e501870ecb6507388454ad57cde318841e373794f24ea075593/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246706f74696576646576253246736c696d2d726261632e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpotievdev%2Fslim-rbac?ref=badge_shield)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f7c99b1f358d66c889d591afdd03782d145d3c56691f7883912fb52b1f74945e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706f746965766465762f736c696d2d726261632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/potievdev/slim-rbac/?branch=master)[![Build Status](https://camo.githubusercontent.com/6e461d6a461ed79b60ecdef278191c8d156880854e6633917074b630691c5b6d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706f746965766465762f736c696d2d726261632f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/potievdev/slim-rbac/build-status/master)[![Total Downloads](https://camo.githubusercontent.com/3a10bfe67c1d586041c8dc43f4bdf24749676a66eb96e98a34f998d013841dd3/68747470733a2f2f706f7365722e707567782e6f72672f706f746965766465762f736c696d2d726261632f646f776e6c6f616473)](https://packagist.org/packages/potievdev/slim-rbac)

This package helps you to release access control logic via [RBAC](https://en.wikipedia.org/wiki/Role-based_access_control) (Role Based Access Control) technology. The example app you can see

📋 Requirements
--------------

[](#clipboard-requirements)

- The minimum required PHP version is PHP 7.3.
- Supported database engines
    - MySQL
    - PostgreSQL
    - MariaDB

🔧 Installation
--------------

[](#wrench-installation)

### First step

[](#first-step)

```
$ composer require potievdev/slim_rbac "^2.0"
```

🎌 Contribution
--------------

[](#crossed_flags-contribution)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

📝 Licence
---------

[](#memo-licence)

MIT License

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.8% 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 ~428 days

Total

2

Last Release

2731d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7069932?v=4)[Abdulmalik](/maintainers/potievdev)[@potievdev](https://github.com/potievdev)

---

Top Contributors

[![potievdev](https://avatars.githubusercontent.com/u/7069932?v=4)](https://github.com/potievdev "potievdev (80 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

---

Tags

access-controlphprbacrole-based-access-controlrole-managerslim3middlewareAuthenticationslimauthorizationrbacpotievdev

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/potievdev-slim-rbac/health.svg)

```
[![Health](https://phpackages.com/badges/potievdev-slim-rbac/health.svg)](https://phpackages.com/packages/potievdev-slim-rbac)
```

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k302.1M240](/packages/google-auth)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M777](/packages/sylius-sylius)[contao/core-bundle

Contao Open Source CMS

1301.7M3.1k](/packages/contao-core-bundle)[dyorg/slim-token-authentication

Slim 3.0+ Token Authentication Middleware

76112.6k](/packages/dyorg-slim-token-authentication)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[hosseinhezami/laravel-permission-manager

Advanced permission manager for Laravel.

353.3k](/packages/hosseinhezami-laravel-permission-manager)

PHPackages © 2026

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