An open API service indexing awesome lists of open source software.

https://github.com/phauthentic/authorization

A framework agnostic policy based authorization library
https://github.com/phauthentic/authorization

access access-control authorization framework-agnostic library php7 policy policy-engine user-authorization

Last synced: 8 months ago
JSON representation

A framework agnostic policy based authorization library

Awesome Lists containing this project

README

          

# Authorization

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Phauthentic/authorization/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/authorization/)
[![Code Quality](https://img.shields.io/scrutinizer/g/Phauthentic/authorization/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/authorization/)
![phpstan Level 8](https://img.shields.io/badge/phpstan-Level%205-brightgreen?style=flat-square)
![php 7.4](https://img.shields.io/badge/php-7.4-blue?style=flat-square)
![php 8.0](https://img.shields.io/badge/php-8.0-blue?style=flat-square)

A framework agnostic authorization library based on policies.

## Authorization not Authentication

This library intends to provide a policy based framework around authorization and access
control. Authentication is a [separate concern](https://en.wikipedia.org/wiki/Separation_of_concerns) that has been
packaged into a separate [authentication library](https://github.com/Phauthentic/authentication).

## Installation

Install it via [Composer](http://getcomposer.org):

```
composer require phauthentic/authorization
```

## Documentation

* [Quick Start and Introduction to the basics](docs/Quick-start-and-introduction.md)
* [Policies](docs/Policies.md)
* [Policy Resolver](docs/Policy-Resolvers.md)
* [Checking Authorization](docs/Checking-Authorization.md)

## Copyright & License

Licensed under the [MIT license](LICENSE.txt).

* Copyright (C) [Phauthentic](https://github.com/Phauthentic)
* Copyright (C) [Cake Software Foundation, Inc.](https://cakefoundation.org)