PHPackages                             cleverage/permission-bundle - 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. cleverage/permission-bundle

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

cleverage/permission-bundle
===========================

Simple permissions based on roles against any PHP object, class or any string

v1.0.5(4y ago)215.5k1MITPHPPHP &gt;=7.1

Since Sep 12Pushed 4y ago3 watchersCompare

[ Source](https://github.com/cleverage/permission-bundle)[ Packagist](https://packagist.org/packages/cleverage/permission-bundle)[ Docs](https://github.com/cleverage/permission-bundle)[ RSS](/packages/cleverage-permission-bundle/feed)WikiDiscussions v1.0-dev Synced 1mo ago

READMEChangelogDependencies (6)Versions (7)Used By (1)

CleverAge/PermissionBundle Documentation
========================================

[](#cleveragepermissionbundle-documentation)

This bundle allows you to define role-based permissions for any PHP class. The classic use-case is for Doctrine entities.

Quick example
-------------

[](#quick-example)

Roles are just meant as an example, there is no hard-coded role in this bundle.

```
clever_age_permission:
    classes:
        App\Entity\Article:
            permissions:
                # list: ~ # Don't define a permission: means granted for all
                create: [] # Defined but left empty: deny access for all
                edit: [ROLE_SUPER_ADMIN] # Only allows super admins to edit
                delete: [ROLE_DATA_ADMIN]
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~225 days

Recently: every ~271 days

Total

6

Last Release

1678d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d408c6ae2e5f73eff1f279b35eb21009d7ded0b4c1f97f8ca45dca4a21f3911?d=identicon)[Clever Age](/maintainers/Clever%20Age)

---

Top Contributors

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

---

Tags

rolespermissions

### Embed Badge

![Health badge](/badges/cleverage-permission-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/cleverage-permission-bundle/health.svg)](https://phpackages.com/packages/cleverage-permission-bundle)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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