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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mbing/think-validate contains the following files

Loading the files please wait ....