Download the PHP package mbing/think-validate without Composer
On this page you can find all versions of the php package mbing/think-validate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mbing/think-validate
More information about mbing/think-validate
Files in mbing/think-validate
Download mbing/think-validate
More information about mbing/think-validate
Files in mbing/think-validate
Vendor mbing
Package think-validate
Short Description thinkphp validate,thinkphp6.0的路由验证器中间件 - 验证器自动验证:在API接口开发过程中,往往需要先写好验证器再到路由或者控制器中引入对应的验证器以完成参数校验,现在可以使用本路由中间件接管,实现自动验证,让你的接口开发快人一步!
License Apache-2.0
Package think-validate
Short Description thinkphp validate,thinkphp6.0的路由验证器中间件 - 验证器自动验证:在API接口开发过程中,往往需要先写好验证器再到路由或者控制器中引入对应的验证器以完成参数校验,现在可以使用本路由中间件接管,实现自动验证,让你的接口开发快人一步!
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package think-validate
thinkphp6.0的路由中间件 - 验证器自动验证
感谢下面文章的思路,由于TP6改动较大,文章的用法已过时,遂进行改进,向下支持TP5.1 & TP5.0(旧版请使用文章的方式进行创建中间件使用) 推荐大家先看一下详细的说明再进行使用 【中间件】API开发实现自动校验参数:https://www.kancloud.cn/xieyongfa123/thinkphp_note/822627
在API接口开发过程中,往往需要先写好验证器再到路由或者控制器中引入对应的验证器以完成参数校验,现在可以使用本路由中间件接管,实现自动验证,让你的接口开发快人一步!
使用过程出现任何问题或技术交流,请QQ联系:942753064 (请备注来源github)
安装
使用方法:在config/route.php中加入以下路由全局中间件即可
All versions of think-validate with dependencies
PHP Build Version
Package Version
No informations.
The package mbing/think-validate contains the following files
Loading the files please wait ....