Skip to content

Commit

Permalink
[PhpMetrics] added metrics evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
Samshal committed Jun 2, 2016
1 parent 3dfef89 commit 241e3af
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Expand Up @@ -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
{
Expand Down

0 comments on commit 241e3af

Please sign in to comment.