{"data":{"slug":"casbin","name":"Apache Casbin","tagline":"Apache-2.0 authorization library: ACL, RBAC, ABAC","category":"libraries","categoryName":"Libraries","url":"https://casbin.apache.org","github":"https://github.com/apache/casbin","pricing":"open-source","hook":"Apache Casbin is an access-control library that enforces authorization from a model file and a policy store, supporting ACL, RBAC, ABAC and more, with production-ready implementations in many languages.","whatsGood":"Apache-2.0 (apache/casbin), release v3.11.0 (2026-08-20). The Go library is the reference; jCasbin, node-Casbin, PHP-Casbin, PyCasbin, Casbin.NET, Casbin-CPP and Casbin-RS are listed as production-ready. Policies persist through adapters for most databases, watchers keep instances in sync, and an online editor helps you test models. Now part of the Apache Software Foundation. ★~20.5k.","theCatch":"The model file syntax (request, policy, matchers) takes time to learn, and mistakes are security bugs. Large policy sets need care for performance. It decides access; it does not handle authentication or user management.","verdict":"A proven authorization engine for when roles in a column are not enough.","addedAt":"2026-10-18","featured":false,"domain":"Libraries","subSpecialty":"Libraries","subcategory":"Libraries","tags":["sdk","self-host","permissive","auth","active"],"capabilities":["auth"],"surfaces":["Self-host"],"ecosystem":["Node.js"],"licenseModel":"Apache-2.0","githubStars":20460,"starsPerWeek":41,"access":"free","archived":false,"repo":{"createdAt":"2017-04-08","pushedAt":"2026-10-09","license":"Apache-2.0","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"hono","name":"Hono","tagline":"Tiny TypeScript web framework that runs on every runtime"},{"slug":"phaser","name":"Phaser","tagline":"MIT HTML5 2D game framework with scenes, physics, and tilemaps"},{"slug":"pixijs","name":"PixiJS","tagline":"MIT 2D WebGPU/WebGL renderer, not a game engine"},{"slug":"babylonjs","name":"Babylon.js","tagline":"Apache-2.0 3D engine for the web, now on v9"},{"slug":"playcanvas","name":"PlayCanvas","tagline":"MIT WebGL2/WebGPU engine plus an optional hosted Editor"}],"links":{"self":"/api/gems/casbin","html":"/gems/casbin","markdown":"/gems/casbin.md","category":"/api/gems?category=libraries","categoryPage":"/stacks/libraries"}}