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

ActiveLibrary[Database &amp; ORM](/categories/database)

emiliosh/laravel-acl-chuimi
===========================

Light-weight role-based permissions for Laravel 5 built in Auth system.

v0.1.3(11y ago)114MITPHPPHP &gt;=5.4.0

Since Feb 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/emiliosh/laravel-acl-chuimi)[ Packagist](https://packagist.org/packages/emiliosh/laravel-acl-chuimi)[ RSS](/packages/emiliosh-laravel-acl-chuimi/feed)WikiDiscussions 1.0 Synced 2mo ago

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

Chuimi/Laravel-ACL
==================

[](#chuimilaravel-acl)

[![Laravel](https://camo.githubusercontent.com/065090645005d594cc1e8a431a709b9b8e2d4ff91785babfd57aaee3b5b06aef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d7e352e302d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Source](https://camo.githubusercontent.com/9eb80c3f4dee40969dd5f62bc478963b0c85354d294b5c1fb74dd1f30b727561/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6b6f6465696e652f6c61726176656c2d2d61636c2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/kodeine/laravel-acl/)[![Build Status](https://camo.githubusercontent.com/533dce80d5f7a3a85c3c028a515695c53e930831a8fb280a59a62048bc043850/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f6b6f6465696e652f6c61726176656c2d2d61636c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/kodeine/laravel-acl)[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)[![Total Downloads](https://camo.githubusercontent.com/7ad31a37ebbed82ee93df42d2f904f9d528aa417bfc391a5773b6978948c42a8/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f6465696e652f6c61726176656c2d61636c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kodeine/laravel-acl)

Laravel ACL adds role based permissions to built in Auth System of Laravel 5. ACL middleware protects routes and even crud controller methods.

Table of Contents
=================

[](#table-of-contents)

- [Requirements](#requirements)
- [Getting Started](#getting-started)
- [Documentation](#documentation)
- [Roadmap](#roadmap)
- [Change Logs](#change-logs)
- [Contribution Guidelines](#contribution-guidelines)

Requirements
====================================================

[](#requirements)

- This package requires PHP 5.5+

Getting Started
==========================================================

[](#getting-started)

1. Require the package in your `composer.json` and update your dependency with `composer update`:

```
"require": {
...
"kodeine/laravel-acl": "~1.0@dev",
...
},

```

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

```
'providers' => [

'Illuminate\Foundation\Providers\ArtisanServiceProvider',
'Illuminate\Auth\AuthServiceProvider',
...
'Chuimi\Acl\AclServiceProvider',

],
```

3. Publish the package migrations to your application and run these with `php artisan migrate.

```
$ php artisan vendor:publish --provider="Chuimi\Acl\AclServiceProvider"

```

> **Use your own models.**Once you publish, it publishes the configuration file where you can define your own models which should extend to Acl models.

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

```
protected $routeMiddleware = [

....
'acl' => 'Chuimi\Acl\Middleware\HasPermission',

];
```

5. Add the HasRole trait to your `User` model.

```
use Chuimi\Acl\Traits\HasRole;

class User extends Model implements AuthenticatableContract, CanResetPasswordContract
{
use Authenticatable, CanResetPassword, HasRole;
}
```

Documentation
======================================================

[](#documentation)

Follow along the [Wiki](https://github.com/kodeine/laravel-acl/wiki) to find out more.

Roadmap
==========================================

[](#roadmap)

Here's the TODO list for the next release (**2.0**).

- Refactoring the source code.
- Correct all issues.
- Adding cache to final user permissions.

Change Logs
==================================================

[](#change-logs)

**September 22, 2016**

- Added unit tests

**September 20, 2016**

- Added support for Laravel 5.3

*September 19, 2016*

- Added cache support to Roles and Permissions.

*June 14, 2015*

- Added backward compatibility to l5.0 for lists() method.
- Added [Blade Template Extensions](https://github.com/kodeine/laravel-acl/wiki/Blade-Extensions).

*March 28, 2015*

- Added Role Scope to get all users having a specific role. e.g `User::role('admin')->get();` will list all users having `admin` role.

*March 7, 2015*

- `is()` and `can()` methods now support comma for `AND` and pipe as `OR` operator. Or pass an operator as a second param. [more information](https://github.com/kodeine/laravel-acl/wiki/Validate-Permissions-and-Roles)
- You can bind multiple permissions together so they inherit ones permission. [more information](https://github.com/kodeine/laravel-acl/wiki/Permissions-Inheritance)

Contribution Guidelines
==========================================================================

[](#contribution-guidelines)

Support follows PSR-2 PHP coding standards, and semantic versioning.

Please report any issue you find in the issues page. Pull requests are welcome.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~192 days

Total

5

Last Release

3326d ago

Major Versions

v0.1.3 → 1.0.x-dev2017-04-04

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

1.0.x-devPHP &gt;=5.5.9

### Community

Maintainers

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

---

Top Contributors

[![kodeine](https://avatars.githubusercontent.com/u/8620059?v=4)](https://github.com/kodeine "kodeine (88 commits)")[![heukirne](https://avatars.githubusercontent.com/u/97672?v=4)](https://github.com/heukirne "heukirne (5 commits)")[![rafaelpv](https://avatars.githubusercontent.com/u/14228330?v=4)](https://github.com/rafaelpv "rafaelpv (3 commits)")[![IlyaSavich](https://avatars.githubusercontent.com/u/12517348?v=4)](https://github.com/IlyaSavich "IlyaSavich (2 commits)")[![CptMeatball](https://avatars.githubusercontent.com/u/1681727?v=4)](https://github.com/CptMeatball "CptMeatball (2 commits)")[![uzegonemad](https://avatars.githubusercontent.com/u/430255?v=4)](https://github.com/uzegonemad "uzegonemad (2 commits)")[![vanderson139](https://avatars.githubusercontent.com/u/10463966?v=4)](https://github.com/vanderson139 "vanderson139 (1 commits)")[![chrisschaetzlein](https://avatars.githubusercontent.com/u/15922483?v=4)](https://github.com/chrisschaetzlein "chrisschaetzlein (1 commits)")[![vjandrea](https://avatars.githubusercontent.com/u/1639757?v=4)](https://github.com/vjandrea "vjandrea (1 commits)")[![emiliosh](https://avatars.githubusercontent.com/u/8056366?v=4)](https://github.com/emiliosh "emiliosh (1 commits)")[![KhaledSMQ](https://avatars.githubusercontent.com/u/8835798?v=4)](https://github.com/KhaledSMQ "KhaledSMQ (1 commits)")[![Lagg](https://avatars.githubusercontent.com/u/2509793?v=4)](https://github.com/Lagg "Lagg (1 commits)")[![peetersdiet](https://avatars.githubusercontent.com/u/863974?v=4)](https://github.com/peetersdiet "peetersdiet (1 commits)")[![rjackson](https://avatars.githubusercontent.com/u/602850?v=4)](https://github.com/rjackson "rjackson (1 commits)")

---

Tags

laravelsecurityautheloquentaclrolespermissionskodeine

### Embed Badge

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

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

###  Alternatives

[kodeine/laravel-acl

Light-weight role-based permissions for Laravel 5 built in Auth system.

782354.8k5](/packages/kodeine-laravel-acl)[silber/bouncer

Eloquent roles and abilities.

3.6k4.4M25](/packages/silber-bouncer)[laravel-doctrine/acl

ACL for Laravel and Doctrine

44445.3k7](/packages/laravel-doctrine-acl)[beatswitch/lock-laravel

A Laravel Driver for Lock.

15529.1k1](/packages/beatswitch-lock-laravel)[phpzen/laravel-rbac

Role based access control for Laravel 5

383.2k](/packages/phpzen-laravel-rbac)[konekt/acl

Concord Module for Permission handling (Laravel 10 - 12)

1070.8k1](/packages/konekt-acl)

PHPackages © 2026

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