spomky-labs / access-control-lib
Authorization for PHP: decides whether a requester is allowed to perform an action on a subject.
Requires
- php: >=8.4
- symfony/event-dispatcher-contracts: ^3.0
Suggests
- symfony/expression-language: Required to use the expression voter and expression-based policies
- symfony/security-core: Required to reuse the voters, the role hierarchy and the tokens of the Security component
- symfony/workflow: Required to guard workflow transitions
- twig/twig: Required to use the is_granted() and access_decision() template functions
This package is auto-updated.
Last update: 2026-08-25 16:04:29 UTC
README
Access Control is a PHP library that decides whether a requester is allowed to perform an action on a subject. It carries voters, combining algorithms, access policies as attributes, and decisions that say why they were reached.
Installation
Install the library with Composer: composer require spomky-labs/access-control-lib.
Contribution
This repository is a sub repository of the Access Control Framework project and is READ ONLY.
Please do not submit any Pull Request here. You should go to the main repository instead.
Documentation
The official documentation is available at https://acf.spomky-labs.com/
Support
I bring solutions to your problems and answer your questions.
If you really love that project and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of 🍻 or more!
Licence
This project is release under MIT licence.