PHPackages                             ngiraud/laravel-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. ngiraud/laravel-acl

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

ngiraud/laravel-acl
===================

Package to implements the acl functionality

1.0.5(9y ago)016MITPHP

Since Jan 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ngiraud/laravel-acl)[ Packagist](https://packagist.org/packages/ngiraud/laravel-acl)[ RSS](/packages/ngiraud-laravel-acl/feed)WikiDiscussions master Synced yesterday

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

Package ACL pour Laravel 5.3
============================

[](#package-acl-pour-laravel-53)

### Requis

[](#requis)

Il faut d'abord effectuer l'installation de l'authentification dans le projet Laravel. Cela peut-être fait grâce à la commande :

```
php artisan make:auth
```

### Installation

[](#installation)

- Ajouter les lignes dans le composer.json

```
"require": {
  ...
  "ngiraud/laravel-acl": "^1.0.0",
  ...
},
```

et exécuter la commande :

```
composer update
```

- Ajouter le ServiceProvider dans app.php

```
NGiraud\ACL\ACLServiceProvider::class,
```

- Publier la config et le seeder

```
php artisan vendor:publish --tag=acl
composer dump-autoload
```

- Ajouter le trait UserACL au model User

```
use NGiraud\ACL\UserACL;

class User extends Authenticatable {
    use Notifiable, UserACL;
}
```

- Ajouter le route middleware dans Http/Kernel.php

```
protected $routeMiddleware = [
    ...
    'acl' => \NGiraud\ACL\Middleware\CheckPermission::class,
    ...
]
```

- Ajouter une variable dans le .env pour les superadmin users (id user séparés par des virgules)

```
SUPERADMIN_USERS=1,2,3,4,5
```

- On peut ajouter une règle dans les routes par exemple en faisant :

```
Route::get('/admin/test', [ 'as' => 'admin.test', 'uses' => 'HomeController@test' ])->middleware('acl:manage_users');
```

- Migrer les tables et exécuter les seeds

```
php artisan migrate
php artisan db:seed --class=UserTableSeeder
php artisan db:seed --class=ACLSeeder
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~0 days

Total

6

Last Release

3449d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12152071?v=4)[Nicolas Giraud](/maintainers/ngiraud)[@ngiraud](https://github.com/ngiraud)

---

Top Contributors

[![ngiraud](https://avatars.githubusercontent.com/u/12152071?v=4)](https://github.com/ngiraud "ngiraud (10 commits)")

### Embed Badge

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

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

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M220](/packages/backpack-crud)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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