In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what changes in the PHP-Casbin v3.20.0 framework, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
PHP-Casbin v3.20.0 has been released and its performance has been greatly improved.
PHP-Casbin v3.20.0 has been released. PHP-Casbin is a lightweight open source access control framework built in the PHP language that supports ACL, RBAC, and ABAC models. It adopts the design idea of metamodel and supports a variety of classical access control schemes, such as role-based access control RBAC, attribute-based access control ABAC and so on.
Update content:
Https://github.com/php-casbin/php-casbin/releases
Introduction to Casbin Open Source Project
Casbin is a powerful and efficient open source access control framework. Involves Go, Java, Node.js, Javascript (React), Python, PHP, .NET, Delphi, Rust and other languages.
In this update, the performance has been improved several times under PHP 8.0:
Intel (R) Core (TM) i5-6500 CPU @ 3.20GHz, 3.20GHz, 4 Core (s), 8 Logical Processor (s) Test caseRule sizeTime overhead (ms/op) RBAC5 rules (2 users, 1 role) 0.050881RBAC (small) 1100 rules (1000 users, 100 roles) 0.336172RBAC (medium) 11000 rules (10000 users, 1000 roles) 2.911541RBAC (large) 110 000 rules (100 000 users, 10 000 roles) 34.153414RBAC with resource roles6 rules (2 users, 2 roles) 0.061189RBAC with domains/tenants6 rules (2 users, 1 role) 2 domains) 0.069991ABAC0 rule (0 user) 0.035182RESTful5 rules (3 users) 0.060467Deny-override6 rules (2 users, 1 role) 0.070071Priority9 rules (2 users, 2 roles) 0.055194
PHP-Casbin Project:
Github: https://github.com/php-casbin/php-casbin above is all the contents of this article entitled "what are the changes in PHP-Casbin v3.20.0 Framework?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.