Middlewares
Web框架
- Go
 - Java
 - Node.js
 - PHP
 - Python
 - C++
 - .NET
 - Rust
 - Lua
 - Swift
 
| Name | Description | 
|---|---|
| Gin | A HTTP web framework featuring a Martini-like API with much better performance, via plugin: authz or gin-casbin | 
| Beego | An open-source, high-performance web framework for Go, via built-in plugin: plugins/authz | 
| Caddy | Fast, cross-platform HTTP/2 web server with automatic HTTPS, via plugin: caddy-authz | 
| Traefik | The cloud native application proxy, via plugin: traefik-auth-plugin or casbin-traefik-forward-auth | 
| Kratos | Your ultimate Go microservices framework for the cloud-native era, via plugin: tx7do/kratos-casbin or overstarry/kratos-casbin | 
| Go kit | A toolkit for microservices, via built-in plugin: plugins/authz | 
| Fiber | An Express inspired web framework written in Go, via middleware: casbin in gofiber/contrib or fiber-casbinrest or fiber-boilerplate or gofiber-casbin | 
| FastHTTP | Fast 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 | 
| Revel | A high productivity, full-stack web framework for the Go language, via plugin: auth/casbin | 
| Echo | High performance, minimalist Go web framework, via plugin: echo-authz or echo-casbin or casbinrest or echo-boilerplate | 
| Iris | The fastest web framework for Go in (THIS) Earth. HTTP/2 Ready-To-GO, via plugin: casbin or iris-middleware-casbin | 
| GoFrame | A modular, powerful, high-performance and enterprise-class application development framework of Golang, via plugin: gf-casbin | 
| Negroni | Idiomatic HTTP Middleware for Golang, via plugin: negroni-authz | 
| Chi | A lightweight, idiomatic and composable router for building HTTP services, via plugin: chi-authz | 
| Buffalo | A Go web development eco-system, designed to make your life easier, via plugin: buffalo-mw-rbac | 
| Macaron | A high productive and modular web framework in Go, via plugin: authz | 
| DotWeb | Simple and easy go web micro framework, via plugin: authz | 
| Tango | Micro & pluggable web framework for Go, via plugin: authz | 
| Baa | An express Go web framework with routing, middleware, dependency injection and http context, via plugin: authz | 
| Tyk | An open source Enterprise API Gateway, supporting REST, GraphQL, TCP and gRPC protocols, via plugin: tyk-authz | 
| Hertz | Go HTTP framework with high-performance and strong-extensibility for building micro-services, via plugin: casbin | 
| Name | Description | 
|---|---|
| Spring Boot | Makes it easy to create Spring-powered applications and services, via plugin: casbin-spring-boot-starter or Simple SpringBoot security demo with jCasbin | 
| Apache Shiro | A 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 | 
| JFinal | A simple, light, rapid, independent and extensible Java WEB + ORM framework, via plugin: jfinal-authz | 
| Nutz | Web framework (MVC/IOC/AOP/DAO/JSON) for all Java developers, via plugin: nutz-authz | 
| mangoo I/O | An intuitive, lightweight, high performance full stack Java web framework, via built-in plugin: AuthorizationService.java | 
| Name | Description | 
|---|---|
| Shield | An authZ server and authZ aware reverse-proxy built on top of casbin. | 
| Express | Fast, unopinionated, minimalist web framework for node, via plugin: express-authz | 
| Koa | Expressive middleware for node.js using ES2017 async functions, via plugin: koa-authz or koajs-starter or koa-casbin | 
| LoopBack 4 | A highly extensible Node.js and TypeScript framework for building APIs and microservices, via plugin: loopback4-authorization | 
| Nest | Progressive 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 | 
| Fastify | Fast and low overhead web framework, for Node.js. via plugin: fastify-casbin or fastify-casbin-rest | 
| Egg | Born to build better enterprise frameworks and apps with Node.js & Koa, via plugin: egg-authz or egg-zrole | 
| hapi | The Simple, Secure Framework Developers Trust. via plugin: hapi-authz | 
| Casbin JWT Express | Authorization middleware that uses stateless JWT token to validate ACL rules using Casbin | 
| Hono | Fast, lightweight, built on Web Standards. via plugin: @hono/casbin | 
| Name | Description | 
|---|---|
| Laravel | The PHP framework for web artisans, via plugin: laravel-authz | 
| Yii PHP Framework | A fast, secure, and efficient PHP framework, via plugin: yii-permission or yii-casbin | 
| CakePHP | Build fast, grow solid PHP Framework, via plugin: cake-permission | 
| CodeIgniter | Associate users with roles and permissions in CodeIgniter4 Web Framework, via plugin: CodeIgniter Permission | 
| ThinkPHP 5.1 | The ThinkPHP 5.1 framework, via plugin: think-casbin | 
| ThinkPHP 6.0 | The ThinkPHP 6.0 framework, via plugin: think-authz | 
| Symfony | The Symfony PHP framework, via plugin: symfony-permission or symfony-casbin | 
| Hyperf | A coroutine framework that focuses on hyperspeed and flexibility, via plugin: hyperf-permission or donjan-deng/hyperf-casbin or cblink/hyperf-casbin | 
| EasySwoole | A distributed, persistent memory PHP framework based on the Swoole extension, via plugin: easyswoole-permission or easyswoole-hyperfOrm-permission | 
| Slim | A PHP micro framework that helps you quickly write simple yet powerful web applications and APIs, via plugin: casbin-with-slim | 
| Phalcon | A full-stack PHP framework delivered as a C-extension, via plugin: phalcon-permission | 
| Webman | High performance HTTP Service Framework for PHP based on Workerman, via plugin: webman-permission or webman-casbin | 
| Name | Description | 
|---|---|
| Django | A high-level Python Web framework, via plugin: django-casbin or django-casbin-auth | 
| Flask | A 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 | 
| FastAPI | A 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 | 
| OpenStack | The most widely deployed open source cloud software in the world, via plugin: openstack-patron | 
| Tornado | Tornado is a Python web framework and asynchronous networking library, via plugin: tornado-authz | 
| Name | Description | 
|---|---|
| Nginx | A HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, via plugin: nginx-casbin-module | 
| Name | Description | 
|---|---|
| ASP.NET Core | An 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 Core | A simple demo of using Casbin at ASP.NET Core framework, via plugin: CasbinACL-aspNetCore | 
| Name | Description | 
|---|---|
| Actix | A Rust actors framework, via plugin: actix-casbin | 
| Actix web | A small, pragmatic, and extremely fast rust web framework, via plugin: actix-casbin-auth | 
| Rocket | a 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 web | A ergonomic and modular rust web framework, via plugin: axum-casbin-auth | 
| Poem web | A full-featured and easy to use web framework with the Rust programming language, via plugin: poem-casbin | 
| Name | Description | 
|---|---|
| OpenResty | A dynamic web platform based on NGINX and LuaJIT, via plugin: lua-resty-casbin and casbin-openresty-example | 
| Kong | A cloud-native, platform-agnostic, scalable API Gateway distinguished for its high performance and extensibility via plugins, via plugin: kong-authz | 
| APISIX | A dynamic, real-time, high-performance API gateway, via plugin: authz-casbin | 
| Name | Description | 
|---|---|
| Vapor | A server-side Swift web framework, via plugin: vapor-authz | 
云服务提供商
- Node.js
 
| 名称 | 描述 | 
|---|---|
| Okta | 一个可信赖的平台,用于通过插件保护每一个身份:casbin-spring-boot-demo | 
| Auth0 | 一个易于实施,可适应的身份验证和授权平台,通过插件:casbin-auth0-rbac |