ACL for Laravel and Doctrine

2.0.0 2025-04-30 19:21 UTC

README

Laravel Doctrine ACL

Laravel Doctrine ACL is a package that provides RBAC (Role-Based Access Control) functionality for Laravel applications using Doctrine. It allows you to manage roles, permissions, and organisations, and seamlessly integrates with Laravel's Authorization system.

Build Status Code Coverage PHPStan Documentation Packagist Downloads

Installation

Via composer:

composer require laravel-doctrine/acl

The ServiceProvider and Facades are autodiscovered.

Publish the configuration:

php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ACL\AclServiceProvider"

Documentation

Full documentation at https://laravel-doctrine-acl.readthedocs.io/en/latest/index.html or in the docs directory.

Versions

  • Version 2 supports Laravel 11-12, ORM ^3.0, DBAL ^4.0, and PHP 8.2.
  • Version 1 supports Laravel 6 - 11, DBAL ^2.0, ORM ^2.0, and PHP ^5.5 - ^8.0.