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

AbandonedArchivedLibrary

rohsyl/laravel-acl
==================

Access Control List for Laravel

v2.1.0(2y ago)017.2k1PHPPHP &gt;=8.1

Since Sep 6Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (6)Versions (22)Used By (1)

Laravel-Acl
===========

[](#laravel-acl)

[![Latest Stable Version](https://camo.githubusercontent.com/c259e2e0ab6ab5cd84a0799504d54eb5cd5c1d61fea293b66f05d33fc65ce73d/68747470733a2f2f706f7365722e707567782e6f72672f726f6873796c2f6c61726176656c2d61636c2f762f737461626c65)](https://packagist.org/packages/rohsyl/laravel-acl)[![Build Status](https://camo.githubusercontent.com/e3b04f800ac72426f06e2a8d59541a82818522b209b08602bbdc09584950682a/68747470733a2f2f7472617669732d63692e6f72672f726f6873796c2f6c61726176656c2d61636c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rohsyl/laravel-acl)[![Total Downloads](https://camo.githubusercontent.com/79aba27c336d9f1e51f01d7d57567c08a787c9263f379ec678cea22c7d438332/68747470733a2f2f706f7365722e707567782e6f72672f726f6873796c2f6c61726176656c2d61636c2f646f776e6c6f616473)](https://packagist.org/packages/rohsyl/laravel-acl)

This is a package that provide Access Control List for Laravel 6.0|7.0|8.0|9.0.

For Laravel 6.0|7.0|8.0 use v1.

For Laravel 9.0|10.0 use v2.

Getting started
---------------

[](#getting-started)

This package can be installed through Composer:

```
composer require rohsyl/laravel-acl

```

After installation you must perform these steps:

#### 1) Add the service provider in `config/app.php` file:

[](#1-add-the-service-provider-in-configappphp-file)

```
'providers' => [
    // ...
    rohsyl\LaravelAcl\ServiceProvider::class,
];

```

#### 2) Publish the laravel-acl config in your app

[](#2-publish-the-laravel-acl-config-in-your-app)

This step will copy config files in the config folder of your Laravel App.

- `config/acl.php`
- `congig/acl/users.php`

```
php artisan vendor:publish --provider="rohsyl\LaravelAcl\ServiceProvider"

```

When it is published you can manage the configuration of larvel-acl through the file in `config/acl.php`, it contains:

```
