PHPackages                             agilepixels/laravel-resource-abilities - 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. agilepixels/laravel-resource-abilities

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

agilepixels/laravel-resource-abilities
======================================

Add abilities to Laravel API resources

v2.0(3y ago)155191MITPHPPHP ^8.0|^8.1|^8.2

Since Feb 19Pushed 3y agoCompare

[ Source](https://github.com/agilepixels/laravel-resource-abilities)[ Packagist](https://packagist.org/packages/agilepixels/laravel-resource-abilities)[ Docs](https://github.com/agilepixels/laravel-resource-abilities)[ GitHub Sponsors](https://github.com/lexdewilligen)[ RSS](/packages/agilepixels-laravel-resource-abilities/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

Add abilities to Laravel API resources
======================================

[](#add-abilities-to-laravel-api-resources)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f568df7d789691d4000eb8edf30b2084441d7880df7958b2f1e8d2a4ead27ee5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6167696c65706978656c732f6c61726176656c2d7265736f757263652d6162696c69746965732e7376673f7374796c653d666c6174)](https://packagist.org/packages/agilepixels/laravel-resource-abilities)[![Test](https://github.com/agilepixels/laravel-resource-abilities/workflows/Test/badge.svg)](https://github.com/agilepixels/laravel-resource-abilities/workflows/Test/badge.svg)[![Check & fix styling](https://github.com/agilepixels/laravel-resource-abilities/workflows/Check%20&%20fix%20styling/badge.svg)](https://github.com/agilepixels/laravel-resource-abilities/workflows/Check%20&%20fix%20styling/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/8ace66fe12cfd2070474750106427b5127d37a0c9dafc110d78eb16e3adfcb0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6167696c65706978656c732f6c61726176656c2d7265736f757263652d6162696c69746965732e7376673f7374796c653d666c6174)](https://packagist.org/packages/agilepixels/laravel-resource-abilities)

If you build a web application with a separate frontend and backend, all kinds of information has to be transferred between these two parts. Part of this are your routes, but how do you share the authorized actions in the most convenient way? One quick note: from now on, we'll call these authorized actions "abilities". To share abilities, we use API resources. That way we can see the abilities the current user has for that resource.

Please read the full introduction and all documentation about this package in our [GitHub Wiki](https://github.com/agilepixels/laravel-resource-abilities/wiki).

Support us
----------

[](#support-us)

Your support is most welcome! Feel free to send in any pull requests to improve this package. If you wish to contribute in any other way, do check out the "sponsor this package" to the right. We'd love to receive your support!

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Lex de Willigen](https://github.com/lexdewilligen)
- [All contributors](https://github.com/agilepixels/laravel-resource-abilities/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/agilepixels/laravel-resource-abilities/blob/master/LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 93% 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 ~350 days

Total

3

Last Release

1206d ago

Major Versions

v1.1 → v2.02023-01-21

PHP version history (2 changes)v1.0PHP ^8.0

v2.0PHP ^8.0|^8.1|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31687602?v=4)[Lex de Willigen](/maintainers/lexdewilligen)[@lexdewilligen](https://github.com/lexdewilligen)

---

Top Contributors

[![lexdewilligen](https://avatars.githubusercontent.com/u/31687602?v=4)](https://github.com/lexdewilligen "lexdewilligen (66 commits)")[![RSpeekenbrink](https://avatars.githubusercontent.com/u/7093216?v=4)](https://github.com/RSpeekenbrink "RSpeekenbrink (5 commits)")

---

Tags

abilitiesapiauthorizationcanslaravelpermissionsphpresourcesphplaravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/agilepixels-laravel-resource-abilities/health.svg)

```
[![Health](https://phpackages.com/badges/agilepixels-laravel-resource-abilities/health.svg)](https://phpackages.com/packages/agilepixels-laravel-resource-abilities)
```

###  Alternatives

[tomatophp/filament-users

Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate

90102.0k7](/packages/tomatophp-filament-users)

PHPackages © 2026

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