Skip to content

Releases: Tinywan/webman-validate

ChangeLog v1.0.2

20 May 07:12
31cc4c3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.0.2

ChangeLog v1.0.1

04 Feb 09:43
b4ad695
Compare
Choose a tag to compare

What's Changed

  • 修复php8下出现的scene未初始化问题 by @liuqingliu in #7

New Contributors

Full Changelog: v1.0.0...v1.0.1

ChangeLog v0.0.6

11 Apr 05:37
Compare
Choose a tag to compare

支持面板使用

$validate = \Tinywan\Validate\Facade\Validate::rule('age', 'number|between:1,120')
    ->rule([
        'name'  => 'require|max:25',
        'email' => 'email'
    ]);
$data = [
    'name'  => 'tinywan',
    'email' => 'tinywan@gmail.com'
];
if (!$validate->check($data)) {
    var_dump($validate->getError());
}

Full Changelog: v0.0.5...v0.0.6

ChangeLog v0.0.5

10 Apr 16:48
Compare
Choose a tag to compare

Full Changelog: v0.0.4...v0.0.5

  • 无须手动添加自定义validate()函数到 functions.php

ChangeLog v0.0.3

19 Feb 14:41
Compare
Choose a tag to compare
  • 增加validate()助手函数(推荐)

ChangeLog v0.0.1

17 Feb 10:28
Compare
Choose a tag to compare