Download the PHP package opportus/authorizer without Composer
On this page you can find all versions of the php package opportus/authorizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download opportus/authorizer
More information about opportus/authorizer
Files in opportus/authorizer
Package authorizer
Short Description Provides a simple yet powerful authorization system
License MIT
Homepage https://github.com/opportus/authorizer
Informations about the package authorizer
Authorizer
Index
- Introduction
- Roadmap
- v1.1
- Integrations
- Setup
- Step 1 - Installation
- Step 2 - Initialization
- Authorization
- Concept
- Example Use Cases
Introduction
This library provides a generic and standardizable authorization system.
Roadmap
To develop this solution faster, contributions are welcome...
v1.1:
- Implement property chain access support
- Implement multiple condition authorization support
- Implement multiple comparison operators support
- Implement higher test coverage
Integrations
- {{ reference_here_your_own_integration }}
Setup
Step 1 - Installation
Open a command console, enter your project directory and execute:
Step 2 - Initialization
This library contains 4 services. 3 of them require a single dependency which is another lower level service among those 4:
In order for the authorizer to get properly initialized, each of its services it depends on must be instantiated such as above.
By design, this solution does not provide "helpers" for the instantiation of its own services which is much better handled the way you're already instantiating your own services, with a DIC system or whatever.
Authorization
Concept
An authorization is a use case assigned to an actor of your system.
An authorization is composed of:
- an operation
- (on) a resource
- (under) an optional condition
Example Use Cases
...