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 11 - 13)

2.2.0(2mo ago)1074.0k—9%2[1 PRs](https://github.com/artkonekt/acl/pulls)1MITPHPPHP ^8.3CI failing

Since Dec 11Pushed 2mo 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 2d ago

READMEChangelogDependencies (14)Versions (18)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

61

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity87

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

Total

17

Last Release

78d ago

Major Versions

0.9.0 → 1.0.02018-02-18

1.x-dev → 2.0.02024-07-04

PHP version history (7 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

2.2.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![fulopattila122](https://avatars.githubusercontent.com/u/1162360?v=4)](https://github.com/fulopattila122 "fulopattila122 (83 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.9k102.4M1.4k](/packages/spatie-laravel-permission)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[silber/bouncer

Eloquent roles and abilities.

3.6k4.7M28](/packages/silber-bouncer)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)

PHPackages © 2026

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