-
Notifications
You must be signed in to change notification settings - Fork 775
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
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
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: walkor/validation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 15 commits
- 163 files changed
- 3 contributors
Commits on Aug 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2a4d8a8 - Browse repository at this point
Copy the full SHA 2a4d8a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d8e326 - Browse repository at this point
Copy the full SHA 8d8e326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65a6dfa - Browse repository at this point
Copy the full SHA 65a6dfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9235695 - Browse repository at this point
Copy the full SHA 9235695View commit details
Commits on Apr 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 49387ff - Browse repository at this point
Copy the full SHA 49387ffView commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4aab1b6 - Browse repository at this point
Copy the full SHA 4aab1b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de3b42 - Browse repository at this point
Copy the full SHA 6de3b42View commit details -
# 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
Configuration menu - View commit details
-
Copy full SHA for ae51b23 - Browse repository at this point
Copy the full SHA ae51b23View commit details -
Merge pull request #1 from 596868636/master
添加setDefault,用来设置默认值,当有些字段不需要可填可不填,或者该字段用于某个控制器的固定值时可使用->setDefault()
Configuration menu - View commit details
-
Copy full SHA for 28316bf - Browse repository at this point
Copy the full SHA 28316bfView commit details
Commits on Sep 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d31ea86 - Browse repository at this point
Copy the full SHA d31ea86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57ee49d - Browse repository at this point
Copy the full SHA 57ee49dView commit details
Commits on Dec 7, 2023
-
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('验证码类型'), ]);Configuration menu - View commit details
-
Copy full SHA for 3d93c63 - Browse repository at this point
Copy the full SHA 3d93c63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ced1b - Browse repository at this point
Copy the full SHA 24ced1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4e9896 - Browse repository at this point
Copy the full SHA a4e9896View commit details
Commits on Dec 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 76573c3 - Browse repository at this point
Copy the full SHA 76573c3View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.4...master