PHPackages                             konekt/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. [Database &amp; ORM](/categories/database)
4. /
5. konekt/acl

ActiveLibrary[Database &amp; ORM](/categories/database)

konekt/acl
==========

Concord Module for Permission handling (Laravel 10 - 12)

2.1.0(1y ago)1070.8k↓38.6%2[1 PRs](https://github.com/artkonekt/acl/pulls)1MITPHPPHP ^8.2CI passing

Since Dec 11Pushed 1y ago3 watchersCompare

[ Source](https://github.com/artkonekt/acl)[ Packagist](https://packagist.org/packages/konekt/acl)[ Docs](https://github.com/artkonekt/acl)[ RSS](/packages/konekt-acl/feed)WikiDiscussions master Synced 1mo ago

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

Concord (Laravel) Module For Handling Permissions And Roles
===========================================================

[](#concord-laravel-module-for-handling-permissions-and-roles)

[![Tests](https://camo.githubusercontent.com/919750aec62cfd0875db24882de38f333b39613c0c38876e781cfbccc619a8ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6172746b6f6e656b742f61636c2f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/artkonekt/acl/actions?query=workflow%3Atests)[![Packagist version](https://camo.githubusercontent.com/5038facd2d38a18815d163d750cbef2c54372a10a6da3760391b59fdb57ad9ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f6e656b742f61636c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/konekt/acl)[![Packagist downloads](https://camo.githubusercontent.com/c758022f149ee927797ba93add8eff8f5053700ebe85d5d73c3d22fd5de57f17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f6e656b742f61636c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/konekt/acl)[![StyleCI](https://camo.githubusercontent.com/05c5bf6b65145b74b58cd24a81489e9bb7a404fe642a1c307c497cffc1c77112/68747470733a2f2f7374796c6563692e696f2f7265706f732f39333531383534382f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/93518548)[![MIT Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

This package allows you to manage user permissions and roles in a database.

Intro
-----

[](#intro)

Once installed you can do stuff like this:

```
// Adding permissions to a user
$user->givePermissionTo('edit articles');

// Adding permissions via a role
$user->assignRole('writer');

$role->givePermissionTo('edit articles');
```

Because all permissions will be registered on [Laravel's gate](https://laravel.com/docs/10.x/authorization), you can test if a user has a permission with Laravel's default `can` function:

```
$user->can('edit articles');
```

### Package Origins

[](#package-origins)

- This package is a fork of [Spatie's Permission v2.1.5](https://github.com/spatie/laravel-permission).
- Reason for the fork was to convert the package into a [Concord compliant](https://konekt.dev/concord) module.
- As of **v1.0**: most of the changes have been ported from Spatie v2.9.0
- Beginning with **v2.0**, this package no longer maintains compatibility and feature parity with the Spatie Permission package.
- The most important feature of v2 is the possibility of *Sharing Eloquent models* across users.

Documentation
-------------

[](#documentation)

Changelog
---------

[](#changelog)

Please see [Changelog](Changelog.md) for more information what has changed recently.

Credits
-------

[](#credits)

This package is a modified variant of [Spatie Permission package](https://github.com/spatie/laravel-permission) which is heavily based on [Jeffrey Way](https://twitter.com/jeffrey_way)'s awesome [Laracasts](https://laracasts.com) lessons on [permissions and roles](https://laracasts.com/series/whats-new-in-laravel-5-1/episodes/16). His original code can be found [in this repo on GitHub](https://github.com/laracasts/laravel-5-roles-and-permissions-demo).

Alternatives
------------

[](#alternatives)

- [spatie/laravel-permission](https://github.com/spatie/laravel-permission)
- [JosephSilber/bouncer](https://github.com/JosephSilber/bouncer)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance44

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.6% 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 ~175 days

Recently: every ~92 days

Total

16

Last Release

441d ago

Major Versions

0.9.0 → 1.0.02018-02-18

1.x-dev → 2.0.02024-07-04

PHP version history (6 changes)0.9.0PHP &gt;=7.0

1.2.0PHP ^7.1.3

1.3.0PHP ^7.2

1.5.0PHP ^7.3|^8.0

1.7.0PHP ^8.0

2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c398dd02c93ecf6aa344f367f5744aeb32b4c7bbc23b1b22e95336f45bf0d5a?d=identicon)[konekt](/maintainers/konekt)

---

Top Contributors

[![fulopattila122](https://avatars.githubusercontent.com/u/1162360?v=4)](https://github.com/fulopattila122 "fulopattila122 (81 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (2 commits)")

---

Tags

laravelsecurityeloquentaclpermissionsharingkonektconcord

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/konekt-acl/health.svg)

```
[![Health](https://phpackages.com/badges/konekt-acl/health.svg)](https://phpackages.com/packages/konekt-acl)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[silber/bouncer

Eloquent roles and abilities.

3.6k4.4M25](/packages/silber-bouncer)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[mostafamaklad/laravel-permission-mongodb

Permission handling for Laravel 5.2 and up using mongodb

113220.0k2](/packages/mostafamaklad-laravel-permission-mongodb)[wnikk/laravel-access-rules

Simple system of ACR (access control rules) for Laravel, with roles, groups, unlimited inheritance and possibility of multiplayer use.

103.6k1](/packages/wnikk-laravel-access-rules)

PHPackages © 2026

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