From 241e3af9246f13852ecb5f753c3b32a55459a8e4 Mon Sep 17 00:00:00 2001 From: Samshal Date: Thu, 2 Jun 2016 12:36:42 +0100 Subject: [PATCH] [PhpMetrics] added metrics evaluation --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 825489c..ad3aed3 100644 --- a/README.md +++ b/README.md @@ -2,25 +2,29 @@ Samshal\Acl adds a role based permission system for user authentication. In general, it provides a lightweight access control list for privileges and permission management. -## Why you might need it +### Why you might need it Access Control Lists allow an application to control access to its areas, they provide a flexible interface for creating Permissions, Roles, Resources and assigning the created permissions on roles based restricting/granting access to resources. This component is an implementation of an ACL, it makes it easy for you to get up and running with user authorization. -## Class Features +### Class Features - Creation of Resources, Roles and Permissions - Ability to set Permissions on Resources and granting these Permissions to Roles. - Fully Serializable, can work interoperably with any source of data. - Compatible with PHP v7.0+ - Easy to use -**Resources** are objects which acts in accordance to the permissions defined on them by the ACLs. **Roles** are objects that requests access to resources and can be allowed or denied by the ACL layers. **Permissions** are just rules defined on Resources. +**Resources** are objects which acts in accordance to the permissions defined on them by the ACLs. **Roles** are objects that requests access to resources and can be allowed or denied by the ACL layers. **Permissions** are just rules defined on Resources. -## License +### Metrics of master branch + +![Package Metrics](https://cdn.rawgit.com/samshal/acl/master/phpmetric-maintainability.svg) + +### License This software is distributed under the [MIT](https://opensource.org/licenses/MIT) license. Please read LICENSE for information on the software availability and distribution. -## Installation +### Installation Samshal\Acl is available via [Composer/Packagist](https://packagist.org/packages/samshal/acl), so just add this line to your `composer.json` file: ```json {