Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Respect/Validation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.4
Choose a base ref
...
head repository: walkor/validation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 163 files changed
  • 3 contributors

Commits on Aug 25, 2020

  1. 汉化

    walkor committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    2a4d8a8 View commit details
    Browse the repository at this point in the history
  2. support input method

    walkor committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    8d8e326 View commit details
    Browse the repository at this point in the history
  3. Update README.md

    walkor authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    65a6dfa View commit details
    Browse the repository at this point in the history
  4. Update AllOfException.php

    walkor authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    9235695 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Update FilterVar.php

    walkor authored Apr 19, 2022
    Configuration menu
    Copy the full SHA
    49387ff View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    4aab1b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6de3b42 View commit details
    Browse the repository at this point in the history
  3. Merge branch '2.3'

    # Conflicts:
    #	library/Exceptions/ExistsException.php
    #	library/Exceptions/FalseValException.php
    #	library/Exceptions/KeyException.php
    #	library/Exceptions/KeySetException.php
    #	library/Exceptions/NoException.php
    #	library/Exceptions/PhoneException.php
    #	library/Exceptions/SfException.php
    #	library/Exceptions/TrueValException.php
    #	library/Exceptions/YesException.php
    #	library/Rules/AbstractRule.php
    #	library/Validator.php
    596868636 committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    ae51b23 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1 from 596868636/master

    添加setDefault,用来设置默认值,当有些字段不需要可填可不填,或者该字段用于某个控制器的固定值时可使用->setDefault()
    walkor authored Sep 9, 2023
    Configuration menu
    Copy the full SHA
    28316bf View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    d31ea86 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from 596868636/master

    提供无限循环数组嵌套功能
    walkor authored Sep 13, 2023
    Configuration menu
    Copy the full SHA
    57ee49d View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. 1、添加了mobile用于国内手机号验证,官方的phone会把电话号码也验证通过

    2、接口添加了setDefault,让使用->setDefault的方法后,ide也能自动跟踪,方便开发
    3、input判断,添加了判断输入值是否\Respect\Validation\Validator,不是的话就直接赋值.
    
    $data = v::input($request->post(), [
    'aaa' => 1,
    'phone' => v::optional(v::mobile())->setTemplate('未绑定/找到手机号'),
    'code' => v::stringType()->notEmpty()->setName('验证码'),
    'type' => v::intVal()->setDefault($this->data['type'],true)->setName('验证码类型'),
    ]);
    596868636 committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    3d93c63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24ced1b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #5 from 596868636/workflows/update-mobile

    工作流程/更新移动
    walkor authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    a4e9896 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2025

  1. php8.5

    walkor committed Dec 13, 2025
    Configuration menu
    Copy the full SHA
    76573c3 View commit details
    Browse the repository at this point in the history
Loading