sowl / laravel-doctrine-acl
Doctrine ACL for Doctrine 2 and Laravel
1.5
2025-04-22 20:08 UTC
Requires
- php: ^8.2
- doctrine/annotations: ^1.10|^2.0
- illuminate/auth: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/config: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/contracts: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- laravel-doctrine/orm: ^1|^2.0
Requires (Dev)
- mockery/mockery: ^1.3.1
- phpunit/phpunit: ^8.5
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.
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.