{"id":13740651,"url":"https://github.com/OWASP/rbac","last_synced_at":"2025-05-08T20:32:11.084Z","repository":{"id":44170829,"uuid":"12076971","full_name":"OWASP/rbac","owner":"OWASP","description":"PHP-RBAC is an authorization library for PHP. It provides developers with NIST Level 2 Standard Role Based Access Control and more, in the fastest implementation yet.","archived":false,"fork":false,"pushed_at":"2024-04-19T19:45:07.000Z","size":5909,"stargazers_count":429,"open_issues_count":58,"forks_count":140,"subscribers_count":54,"default_branch":"develop","last_synced_at":"2024-09-09T14:24:14.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://phprbac.net/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OWASP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-08-13T08:29:20.000Z","updated_at":"2024-09-07T20:08:15.000Z","dependencies_parsed_at":"2024-06-18T12:40:01.609Z","dependency_job_id":"b132a8ba-4460-438f-9952-bb23df3ebd1f","html_url":"https://github.com/OWASP/rbac","commit_stats":{"total_commits":129,"total_committers":8,"mean_commits":16.125,"dds":0.4418604651162791,"last_synced_commit":"84d993cbc676a89ac33359b94fa2b90ff2519dbb"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OWASP%2Frbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OWASP%2Frbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OWASP%2Frbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OWASP%2Frbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OWASP","download_url":"https://codeload.github.com/OWASP/rbac/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224765533,"owners_count":17366131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T04:00:50.926Z","updated_at":"2024-11-15T10:30:56.166Z","avatar_url":"https://github.com/OWASP.png","language":"PHP","funding_links":[],"categories":["Authorization","Authorization Development"],"sub_categories":["\u003ca name=\"authZ-php\"\u003e\u003c/a\u003ePHP"],"readme":"#PHP-RBAC v2.x\r\n\r\nPHP-RBAC is an authorization library for PHP. It provides developers with NIST Level 2 Hierarchical Role Based Access Control and more, in the fastest implementation yet.\r\n\r\n**Current Stable Release:** [PHP-RBAC v2.0](https://sourceforge.net/projects/phprbac/files/latest/download?source=dlp)\r\n\r\n##Connect With Us\r\n\r\n* Home Page: [http://phprbac.net/](http://phprbac.net/)\r\n* OWASP Project Page: [https://www.owasp.org/index.php/Phprbac](https://www.owasp.org/index.php/Phprbac)\r\n* PHP-RBAC Documentation: [http://phprbac.net/docs_contents.php](http://phprbac.net/docs_contents.php)\r\n* PHP-RBAC Wiki: [https://github.com/OWASP/rbac/wiki](https://github.com/OWASP/rbac/wiki)\r\n* PHP-RBAC API: [http://phprbac.net/api.php](http://phprbac.net/api.php)\r\n* Issue Tracker: [https://github.com/OWASP/rbac/issues?state=open](https://github.com/OWASP/rbac/issues?state=open)\r\n* Mailing List: [https://lists.owasp.org/mailman/listinfo/owasp_phprbac](https://lists.owasp.org/mailman/listinfo/owasp_phprbac)\r\n\r\n##What is an Rbac System?\r\n\r\nTake a look at the \"[Before You Begin](http://phprbac.net/docs_before_you_begin.php)\" section of our [Documentation](http://phprbac.net/docs_contents.php) to learn what an RBAC system is and what PHP-RBAC has to offer you and your project.\r\n\r\n##NIST Level 2 Compliance\r\n\r\nFor information regarding NIST RBAC Levels, please see [This Paper](http://csrc.nist.gov/rbac/sandhu-ferraiolo-kuhn-00.pdf).\r\n\r\nFor more great resources see the [NIST RBAC Group Page](http://csrc.nist.gov/groups/SNS/rbac/).\r\n\r\n##Installation\r\n\r\nYou can now use [Composer](https://getcomposer.org/) to install the PHP-RBAC code base.\r\n\r\nFor Installation Instructions please refer to the \"[Getting Started](http://phprbac.net/docs_getting_started.php)\" section of our [Documentation](http://phprbac.net/docs_contents.php).\r\n\r\n##Usage##\r\n\r\n**Instantiating a PHP-RBAC Object**\r\n    \r\nWith a 'use' statement:\r\n\r\n        use PhpRbac;\r\n        \r\n        $rbac = new Rbac();\r\n\r\nWithout a 'use' statement, outside of a namespace:\r\n        \r\n        $rbac = new PhpRbac\\Rbac();\r\n\r\nWithout a 'use' statement, inside of another namespace (notice the leading backslash):\r\n        \r\n        $rbac = new \\PhpRbac\\Rbac();\r\n\r\n##PHP-RBAC and PSR\r\n\r\nPHP-RBAC's Public API is now fully PSR-0, PSR-1 and PSR-2 compliant.\r\n\r\nYou can now:\r\n\r\n* Use Composer to install/update PHP-RBAC\r\n* Use any PSR-0 compliant autoloader with PHP-RBAC\r\n* Use the included autoloader to load PHP-RBAC\r\n\r\n**If you notice any conflicts with PSR compliance please [Submit an Issue](https://github.com/OWASP/rbac/issues/new).**\r\n\r\n##The future of PHP-RBAC\r\n\r\nWe are in the process of refactoring the PHP-RBAC internals. We have two goals in mind while doing this:\r\n\r\n* To meet modern PHP OOP \"Best Practices\"\r\n* To meet PHP-FIG PSR compliance: http://www.php-fig.org/\r\n\r\nWith a PSR compliant Public API already in place we can continue to work towards our goals one piece at a \r\ntime without altering the Public API that developers are working with and rely on, making the transition as seamless \r\nand invisible as possible.\r\n\r\n##Contributing##\r\n\r\nWe welcome all contributions that will help make PHP-RBAC even better tomorrow than it is today!\r\n\r\nPlease visit the [PHP-RBAC Wiki](https://github.com/OWASP/rbac/wiki) to learn about our development process and workflow.\r\n\r\n###How You Can Help\r\n\r\n* Report Bugs, Enhancement Requests or Documentation errors using our [Issue Tracker](https://github.com/OWASP/rbac/issues?state=open)\r\n* [Choose a Bug](https://github.com/OWASP/rbac/issues?state=open) to work on and submit a Pull Request\r\n* Make helpful suggestions and contributions to the [Documentation](http://phprbac.net/docs_contents.php) using our [Issue Tracker](https://github.com/OWASP/rbac/issues?state=open)\r\n* Spread the word about PHP-RBAC by:\r\n    * Creating Tutorials\r\n    * Blogging\r\n    * [Tweeting](https://twitter.com/)\r\n    * [Facebooking](https://www.facebook.com/)\r\n    * [Google+ing](https://plus.google.com/)\r\n    * Talking to friends and colleagues about us\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOWASP%2Frbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOWASP%2Frbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOWASP%2Frbac/lists"}