Download the PHP package matthieuy/acl-manager without Composer
On this page you can find all versions of the php package matthieuy/acl-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package acl-manager
ACL Manager
Installation
To install add the following dependency to your composer.json
and run composer update
Usage
This library use 3 class :
- Acl : The main class to instance
- Resource : The object to which access is controlled (ex: action)
- Role : The object that may request access to a Resource (ex: user)
Init ACL Manager
Create roles
Create Resources
Define the rights
Check right
Persistance
You can save/restore role and his rights with toArray()
and fromArray()
methods.
Use json_encode()
or json_decode()
function to convert to string/array.
Save
Restore
Save/Restore resources
Debug
You can see all roles and rights in HTML format with the debug()
method
All versions of acl-manager with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package matthieuy/acl-manager contains the following files
Loading the files please wait ....