Casbin
PluginsMiddlewares

Middlewares

Casbin middlewares

Web frameworks

NameDescription
GinA HTTP web framework featuring a Martini-like API with much better performance, via plugin: authz or gin-casbin
BeegoAn open-source, high-performance web framework for Go, via built-in plugin: plugins/authz
CaddyFast, cross-platform HTTP/2 web server with automatic HTTPS, via plugin: caddy-authz
TraefikThe cloud native application proxy, via plugin: casbin-forward-auth or traefik-auth-plugin
KratosYour ultimate Go microservices framework for the cloud-native era, via plugin: tx7do/kratos-casbin or overstarry/kratos-casbin
Go kitA toolkit for microservices, via built-in plugin: plugins/authz
FiberAn Express inspired web framework written in Go, via middleware: casbin in gofiber/contrib or fiber-casbinrest or fiber-boilerplate or gofiber-casbin
FastHTTPFast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http, via plugin: fasthttp-auth
RevelA high productivity, full-stack web framework for the Go language, via plugin: auth/casbin
EchoHigh performance, minimalist Go web framework, via plugin: echo-authz or echo-casbin or casbinrest or echo-boilerplate
IrisThe fastest web framework for Go in (THIS) Earth. HTTP/2 Ready-To-GO, via plugin: casbin or iris-middleware-casbin
GoFrameA modular, powerful, high-performance and enterprise-class application development framework of Golang, via plugin: gf-casbin
go-zeroA cloud-native Go microservices framework with cli tool for productivity, via plugin: casbin in zero-contrib
NegroniIdiomatic HTTP Middleware for Golang, via plugin: negroni-authz
ChiA lightweight, idiomatic and composable router for building HTTP services, via plugin: chi-authz
BuffaloA Go web development eco-system, designed to make your life easier, via plugin: buffalo-mw-rbac
MacaronA high productive and modular web framework in Go, via plugin: authz
DotWebSimple and easy go web micro framework, via plugin: authz
TangoMicro & pluggable web framework for Go, via plugin: authz
BaaAn express Go web framework with routing, middleware, dependency injection and http context, via plugin: authz
TykAn open source Enterprise API Gateway, supporting REST, GraphQL, TCP and gRPC protocols, via plugin: tyk-authz
HertzGo HTTP framework with high-performance and strong-extensibility for building micro-services, via plugin: casbin
NameDescription
Spring BootMakes it easy to create Spring-powered applications and services, via plugin: casbin-spring-boot-starter or Simple SpringBoot security demo with jCasbin
Apache ShiroA powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management, via plugin: shiro-casbin or shiro-jcasbin-spring-boot-starter
JFinalA simple, light, rapid, independent and extensible Java WEB + ORM framework, via plugin: jfinal-authz
NutzWeb framework (MVC/IOC/AOP/DAO/JSON) for all Java developers, via plugin: nutz-authz
mangoo I/OAn intuitive, lightweight, high performance full stack Java web framework, via built-in plugin: AuthorizationService.java
NameDescription
ShieldAn authZ server and authZ aware reverse-proxy built on top of casbin.
ExpressFast, unopinionated, minimalist web framework for node, via plugin: express-authz
KoaExpressive middleware for node.js using ES2017 async functions, via plugin: koa-authz or koajs-starter or koa-casbin
LoopBack 4A highly extensible Node.js and TypeScript framework for building APIs and microservices, via plugin: loopback4-authorization
NestProgressive Node.js framework for building efficient and scalable server-side applications on top of TypeScript & JavaScript. via plugin: nest-authz or nest-casbin or NestJS Casbin Module or nestjs-casbin or acl-nest or nestjs-casbin-typeorm
FastifyFast and low overhead web framework, for Node.js. via plugin: fastify-casbin or fastify-casbin-rest
EggBorn to build better enterprise frameworks and apps with Node.js & Koa, via plugin: egg-authz or egg-zrole
hapiThe Simple, Secure Framework Developers Trust. via plugin: hapi-authz
Casbin JWT ExpressAuthorization middleware that uses stateless JWT token to validate ACL rules using Casbin
HonoFast, lightweight, built on Web Standards. via plugin: @hono/casbin
NameDescription
LaravelThe PHP framework for web artisans, via plugin: laravel-authz
Yii PHP FrameworkA fast, secure, and efficient PHP framework, via plugin: yii-permission or yii-casbin
CakePHPBuild fast, grow solid PHP Framework, via plugin: cake-permission
CodeIgniterAssociate users with roles and permissions in CodeIgniter4 Web Framework, via plugin: CodeIgniter Permission
ThinkPHP 5.1The ThinkPHP 5.1 framework, via plugin: think-casbin
ThinkPHP 6.0The ThinkPHP 6.0 framework, via plugin: think-authz
SymfonyThe Symfony PHP framework, via plugin: symfony-permission or symfony-casbin
HyperfA coroutine framework that focuses on hyperspeed and flexibility, via plugin: hyperf-permission or donjan-deng/hyperf-casbin or cblink/hyperf-casbin
EasySwooleA distributed, persistent memory PHP framework based on the Swoole extension, via plugin: easyswoole-permission or easyswoole-hyperfOrm-permission
SlimA PHP micro framework that helps you quickly write simple yet powerful web applications and APIs, via plugin: casbin-with-slim
PhalconA full-stack PHP framework delivered as a C-extension, via plugin: phalcon-permission
WebmanHigh performance HTTP Service Framework for PHP based on Workerman, via plugin: webman-permission or webman-casbin
NameDescription
DjangoA high-level Python Web framework, via plugin: django-casbin or django-casbin-auth
FlaskA microframework for Python based on Werkzeug, Jinja 2 and good intentions, via plugin: flask-authz or Flask-Casbin (3rd-party, but maybe more friendly) or rbac-flask
FastAPIA modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints, via plugin: fastapi-casbin-auth or Fastapi-app
OpenStackThe most widely deployed open source cloud software in the world, via plugin: openstack-patron
TornadoTornado is a Python web framework and asynchronous networking library, via plugin: tornado-authz
NameDescription
NginxA HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, via plugin: nginx-casbin-module
NameDescription
ASP.NET CoreAn open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends, via plugin: Casbin.AspNetCore
ASP.NET CoreA simple demo of using Casbin at ASP.NET Core framework, via plugin: CasbinACL-aspNetCore
NameDescription
ActixA Rust actors framework, via plugin: actix-casbin
Actix webA small, pragmatic, and extremely fast rust web framework, via plugin: actix-casbin-auth
Rocketa web framework for Rust that makes it simple to write fast, secure web applications without sacrificing flexibility, usability, or type safety, via plugin: rocket-authz or rocket-casbin-auth
Axum webA ergonomic and modular rust web framework, via plugin: axum-casbin-auth
Poem webA full-featured and easy to use web framework with the Rust programming language, via plugin: poem-casbin
NameDescription
OpenRestyA dynamic web platform based on NGINX and LuaJIT, via plugin: lua-resty-casbin and casbin-openresty-example
KongA cloud-native, platform-agnostic, scalable API Gateway distinguished for its high performance and extensibility via plugins, via plugin: kong-authz
APISIXA dynamic, real-time, high-performance API gateway, via plugin: authz-casbin
NameDescription
VaporA server-side Swift web framework, via plugin: vapor-authz

Cloud providers

NameDescription
OktaOne trusted platform to secure every identity, via plugin: casbin-spring-boot-demo
Auth0An easy to implement, adaptable authentication and authorization platform, via plugin: casbin-auth0-rbac

On this page