2017 © Pedro Peláez
 

library phprbac

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

image

jockchou/phprbac

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 118 Forks
  • 0 Open issues
  • 12 Versions
  • 14 % Grown

The README.md

PHP-RBAC v2.x

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Hierarchical Role Based Access Control and more, in the fastest implementation yet., (*1)

Current Stable Release: PHP-RBAC v2.0, (*2)

What is an Rbac System?

Take a look at the "Before You Begin" section of our Documentation to learn what an RBAC system is and what PHP-RBAC has to offer you and your project., (*3)

NIST Level 2 Compliance

For information regarding NIST RBAC Levels, please see This Paper., (*4)

For more great resources see the NIST RBAC Group Page., (*5)

Installation

You can now use Composer to install the PHP-RBAC code base., (*6)

For Installation Instructions please refer to the "Getting Started" section of our Documentation., (*7)

Usage

Instantiating a PHP-RBAC Object, (*8)

With a 'use' statement:, (*9)

use PhpRbac;

$rbac = new Rbac();

Without a 'use' statement, outside of a namespace:, (*10)

$rbac = new PhpRbac\Rbac();

Without a 'use' statement, inside of another namespace (notice the leading backslash):, (*11)

$rbac = new \PhpRbac\Rbac();

PHP-RBAC and PSR

PHP-RBAC's Public API is now fully PSR-0, PSR-1 and PSR-2 compliant., (*12)

You can now:, (*13)

  • Use Composer to install/update PHP-RBAC
  • Use any PSR-0 compliant autoloader with PHP-RBAC
  • Use the included autoloader to load PHP-RBAC

If you notice any conflicts with PSR compliance please Submit an Issue., (*14)

The future of PHP-RBAC

We are in the process of refactoring the PHP-RBAC internals. We have two goals in mind while doing this:, (*15)

  • To meet modern PHP OOP "Best Practices"
  • To meet PHP-FIG PSR compliance: http://www.php-fig.org/

With a PSR compliant Public API already in place we can continue to work towards our goals one piece at a time without altering the Public API that developers are working with and rely on, making the transition as seamless and invisible as possible., (*16)

Contributing

We welcome all contributions that will help make PHP-RBAC even better tomorrow than it is today!, (*17)

How You Can Help:, (*18)

The Versions

18/04 2017

2.0.1.x-dev

2.0.1.9999999-dev http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

18/04 2017

2.1.3

2.1.3.0 http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

18/04 2017

2.1.2

2.1.2.0 http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

18/04 2017

2.1.1

2.1.1.0 http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

11/04 2017

2.1.0

2.1.0.0 http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

11/04 2017

2.0.x-dev

2.0.9999999.9999999-dev http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

11/04 2017

dev-develop

dev-develop http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

Apache-2.0

security rbac owasp

11/04 2017

2.0.1

2.0.1.0 http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

Apache-2.0

security rbac owasp

27/11 2014

dev-dev/v2.0.1/move_node

dev-dev/v2.0.1/move_node http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

Apache-2.0

security rbac owasp

24/09 2014

dev-dev/v2.0.1/install

dev-dev/v2.0.1/install http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

22/05 2014

dev-master

9999999-dev http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp

14/03 2014

2.0.0

2.0.0.0 http://phprbac.net/

PHP-RBAC is the de-facto authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.

  Sources   Download

CC-BY-SA-3.0

security rbac owasp