# webman-websafe **Repository Path**: chenmengwl/webman-websafe ## Basic Information - **Project Name**: webman-websafe - **Description**: 专为webman、workerman设计的WEB应用层防火墙 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2025-03-15 - **Last Updated**: 2025-04-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webman-websafe #### 介绍 webman、workerman可用的WEB应用层防火墙 #### 软件架构 PHP开发,配合webman的请求类获取请求数据 #### 使用说明 1. 只能在webman使用 2. PHP版本默认>=7.2,具体多少得看你当前使用的webman版本要求,如果是webman-v2.1那得PHP版本>=8.1 3. 在webman的项目根目录中config/middleware.php添加全局中间件 ``` [ // ... 这里省略其它中间件 \Chenm\WebmanWebsafe\Main\Core::class, ], // ... 这里省略其它中间件 ]; ```