cline / arbiter
Path-based policy evaluation engine for PHP
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cline/arbiter
Requires
- php: ^8.4.0
Requires (Dev)
- cline/coding-standard: ^1.5.8
- orchestra/testbench: ^10.8
- symfony/var-dumper: ^7.4.0
- symfony/yaml: ^7.4
Suggests
- ext-pdo: Required for DatabaseRepository
- psr/simple-cache: Required for CachedRepository
- symfony/yaml: Required for YamlRepository
README
A flexible policy-based authorization library for Laravel applications. Arbiter provides path-based access control with support for capabilities, conditions, and context-aware evaluation through an intuitive conductor API.
Requirements
Requires PHP 8.4+ and Laravel 12+
Installation
composer require cline/arbiter
Documentation
- Getting Started - Installation, configuration, and basic concepts
- Policies and Rules - Creating and managing access control policies
- Capabilities - Read, Write, Delete, and Admin capabilities
- Path Patterns - Wildcard matching and path-based access control
- Conditions - Context-aware authorization rules
- Evaluation - Checking permissions and evaluating access
- Advanced Usage - Specificity, repositories, and advanced patterns
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.