Download the PHP package kinddylee/data-verification without Composer

On this page you can find all versions of the php package kinddylee/data-verification. 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 data-verification

VNNOX VERIFICATION

Vnnox RESTful API 参数校验组件

特性说明

快速使用

结构校验

Key值校验

验证规则需满足以下格式:

必须性 数据类型 验证方法 参数 说明
required string 是否是字符串
optional string notEmpty 是否为空
string lengthOfBitEqual int 字符bit长度等于
string lengthOfBitGreatThan int 字符bit长度大于n
string lengthOfCharsEqual int 字符个数等于
string lengthOfBitLessThan int 字符bit长度最大值
string lengthOfBitBetween 'int-int' 字符bit长度介于n-m之间
string lengthOfCharsGreatThan int 字符的个数大于
string lengthOfCharsLessThan int 字符串的个数小于
string lengthOfCharsBetween 'int-int' 字符的个数介于n-m之间
string regex 正则表达式 正则校验
string same string 相同
string notSame string 不相同
int 是否为int
int greaterThan int 大于
int lessThan int 小于
int equal int 等于
int notEqual int 不等于
int greaterThanOrEqual int 大于等于
int lessThanOrEqual int 小于等于
int between 'int-int' 大于a小于b
enum in 'a,b,c...' 在枚举项中
enum notIn 'a,b,c...' 不在枚举项中
boolean 是否为boolean类型(包含string:true false)
boolean equal boolean 等于指定boolean
arrays 判断类型为Array
arrays notEmpty 判断数组不为空
arrays countEqual int 判断数组count()等于
arrays countGreatThan int 判断数组count()大于
arrays countLessThan int 判断数组count()小于
date 校验日志格式是否正确
date format string 校验日期格式满足定义标准,参照php:date函数用法

PHP:date http://php.net/manual/zh/function.date.php

扩展自定义规则

当校验规则不满足业务需要时,你可以创建自己的校验类,并将实例添加至工厂中,用于扩展自定义校验规则

安装本组件至项目(Composer)

协助开发本组件

后续计划


All versions of data-verification 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 kinddylee/data-verification contains the following files

Loading the files please wait ....