PHPackages                             jlourenco/permissions - 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. jlourenco/permissions

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

jlourenco/permissions
=====================

This modules adds the ability to have permission requirements on any entity using Morph relationships

v0.1.1(10y ago)08MITPHPPHP &gt;=5.4.0

Since Jan 15Pushed 10y ago1 watchersCompare

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

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

permissions
===========

[](#permissions)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e5f8b16981a4eb68956c7e5daadd209c9a7da4fd020f1f04a0e5599a04486680/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6c6f7572656e636f2f7065726d697373696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jlourenco/permissions)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/1581c066a533a7fc0c7369dd186e8f5b555e0ade96518639680f77e48ca0caf7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6c6f7572656e636f2f7065726d697373696f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/joaogl/permissions)[![Coverage Status](https://camo.githubusercontent.com/3674aa6eb44397e9c0bc06997cc78aed883e581e7429ddd4d8da73e13d57238f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6a6c6f7572656e636f2f7065726d697373696f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/joaogl/permissions/code-structure)[![Quality Score](https://camo.githubusercontent.com/856b374029296ccca222f7293999c8ce456458320922d8d08d2f9731eaa7969f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a6c6f7572656e636f2f7065726d697373696f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/joaogl/permissions)[![Total Downloads](https://camo.githubusercontent.com/1002a6a0eaba39525081fd244db8cd800ac7d695bc4289ff0307ec1f90c71378/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6c6f7572656e636f2f7065726d697373696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jlourenco/permissions)

**Note:** Replace `Joao Lourenco` `joaogl` `http://joaolourenco.net/` `jglourenco.pt@gmail.com` `jlourenco` `permissions` `This modules adds the ability to have permission requirements on any entity using Morph relationships` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line.

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install
-------

[](#install)

Via Composer

```
$ composer require jlourenco/permissions
```

Usage
-----

[](#usage)

```
$skeleton = new League\Skeleton();
echo $skeleton->echoPhrase('Hello, League!');
```

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

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

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Joao Lourenco](https://github.com/joaogl)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3767d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab08c8e97a239eb9233180d300c2f43cd3f653114a7eb8a542afa72cf65d2a97?d=identicon)[joaogl](/maintainers/joaogl)

---

Top Contributors

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

---

Tags

permissionsjlourenco

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jlourenco-permissions/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[yajra/laravel-acl

Laravel ACL is a simple role, permission ACL for Laravel Framework.

112103.9k1](/packages/yajra-laravel-acl)[jurager/teams

Laravel package to manage team functionality and operate with user permissions.

22817.3k](/packages/jurager-teams)[shanmuga/laravel-entrust

This package provides a flexible solution to add ACL to Laravel

68312.9k2](/packages/shanmuga-laravel-entrust)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)[beatswitch/lock-laravel

A Laravel Driver for Lock.

15529.1k1](/packages/beatswitch-lock-laravel)

PHPackages © 2026

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