Download the PHP package ripaclub/aclman without Composer
On this page you can find all versions of the php package ripaclub/aclman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ripaclub/aclman
More information about ripaclub/aclman
Files in ripaclub/aclman
Package aclman
Short Description A library designed to manage ACL
License BSD-2-Clause
Homepage http://github.com/ripaclub/aclman
Informations about the package aclman
ACL manager
AclMan is a PHP library designed to manage access control list (ACL).
Requisites
-
PHP >= 5.4
- Composer
Features
AclMan has various features:
-
Assertions
It provides an
AssertionPluginManager
whose goal is to deliver the assertions (i.e.,AssertionInterface
objects) -
Permissions
Contains a class,
GenericPermission
, that is a container of permission options (e.g., a role, a resource, a privilege, an assertion) -
Resources and roles
It provides a set of traits aimed to check the validity of resources and roles and instantiate their relative classes
-
Storages
AclMan allows you to save the ACL configuration in several layers persistence, via
StorageInterface
objects and adapters (e.g.,ArrayAdapter
) -
Services
A set of classes aimed at the instantiation of ACL objects
Installation
Add ripaclub/aclman
to your composer.json
.
Configuration
AclMan library has only two configuration nodes:
-
aclman_storage
to configure the persistence layer in which to save your ACL rules aclman_services
to configure your services (e.g., a storage and optionally a plugin manager)
Usage (1)
So, here is an example of use. You first need to configure the factories.
Put this PHP array into your configuration file.
Then we configure our service.
Finally, our storage configuration.
Our first ACL configuration is now complete. Use it:
Notice the behaviour ...
All versions of aclman with dependencies
zendframework/zend-permissions-acl Version ~2.3
zendframework/zend-servicemanager Version ~2.3