Download the PHP package francerz/access-manager without Composer
On this page you can find all versions of the php package francerz/access-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download francerz/access-manager
More information about francerz/access-manager
Files in francerz/access-manager
Download francerz/access-manager
More information about francerz/access-manager
Files in francerz/access-manager
Vendor francerz
Package access-manager
Short Description A PSR-15 based Access Manager handler.
License ISC
Package access-manager
Short Description A PSR-15 based Access Manager handler.
License ISC
Please rate this library. Is it a good library?
Informations about the package access-manager
Access Manager
The francerz\access-manager
library provides a PSR-15 middleware class that
manages access control to routes based on granted permissions.
Installation
You can install the library via Composer. Run the following command:
Usage
Using Slim Framework
-
Create an
UserGrantsProviderInterface
implementation to retrieve current user grants. - Configure the access middleware in your Slim\App routing:
Permission Syntax
The allow
method accept a permission string with a syntax similar to boolean
logic:
- Use space to separate individual permissions; each space acts as an
AND
operator. - Use character
|
to represent anOR
operator, e.g.,'read | write'
.
License
This library is licensed under the MIT License. see the LICENSE file for details.
All versions of access-manager with dependencies
PHP Build Version
Package Version
Requires
fig/http-message-util Version
^1.0
psr/http-factory Version ^1.0
psr/http-server-middleware Version ^1.0
psr/http-factory Version ^1.0
psr/http-server-middleware Version ^1.0
The package francerz/access-manager contains the following files
Loading the files please wait ....