sowl/laravel-doctrine-acl

Doctrine ACL for Doctrine 2 and Laravel

1.5 2025-04-22 20:08 UTC

This package is auto-updated.

Last update: 2025-04-28 09:52:17 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 DBAL ^4.0, ORM ^3.0, and PHP 8.2.
  • Version 1 supports Laravel 6 - 11, DBAL ^2.0, ORM ^2.0, and PHP ^5.5 - ^8.0.