PHPackages                             ashamnx/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ashamnx/acl

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

ashamnx/acl
===========

Laravel Route Based Acl

028PHP

Since Sep 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ashamnx/acl)[ Packagist](https://packagist.org/packages/ashamnx/acl)[ RSS](/packages/ashamnx-acl/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Acl
===

[](#acl)

Laravel Route based ACL.

Requirements
------------

[](#requirements)

- Laravel 5.4 with Passport

Getting Started
---------------

[](#getting-started)

1.Install via `composer require ashamnx/acl`

2.Add the package to your application service providers in `config/app.php`.

```
'providers' => [
   ...
   Ashamnx\Acl\AclServiceProvider::class,

],

```

3.Migrate using `php artisan migrate`

4.Add the middleware to your `app/Http/Kernel.php`.

```
protected $routeMiddleware = [
    ....
    'acl' => \Ashamnx\Acl\Middleware\AclMiddleware::class,

];
```

5.Make sure all routes that use the middleware are named and the name has the format \[prefix\].\[resource\].\[action\]

```
Route::middleware(['acl'])->get('test/win', function() {
    return 'Testing win';
})->name('testing.win');

```

6.Run `php artisan acl:init` to create an `Administrator` group and give all access.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c5d0eeb7cc66915d65e637533ec8098e27ab25fc60441cf1da17c6469bfd642?d=identicon)[ashamnx](/maintainers/ashamnx)

---

Top Contributors

[![ashamnx](https://avatars.githubusercontent.com/u/3396812?v=4)](https://github.com/ashamnx "ashamnx (14 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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