René's URL Explorer Experiment


Title: GitHub - gitHusband/Validation: A simple, intuitive and customizable data validator

Open Graph Title: GitHub - gitHusband/Validation: A simple, intuitive and customizable data validator

X Title: GitHub - gitHusband/Validation: A simple, intuitive and customizable data validator

Description: A simple, intuitive and customizable data validator - gitHusband/Validation

Open Graph Description: A simple, intuitive and customizable data validator - gitHusband/Validation

X Description: A simple, intuitive and customizable data validator - gitHusband/Validation

Opengraph URL: https://github.com/gitHusband/Validation

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:2a24d0e3-f264-c1af-0d26-3f6c4c354497
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id9716:54BA4:14369E6:1A407BE:697F8E3F
html-safe-nonce43c9cb1512a66065606e55ba14135daf7647297dba714669c7c8af20ff120794
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzE2OjU0QkE0OjE0MzY5RTY6MUE0MDdCRTo2OTdGOEUzRiIsInZpc2l0b3JfaWQiOiI2NDc1MDA0NTYwMTk1Njg1OTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace7e4a78ace93b849fcbf7557fb5dd8b1884034966f2b86f832f0c81c2d85feaa
hovercard-subject-tagrepository:258116908
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitHusband/Validation
twitter:imagehttps://opengraph.githubassets.com/be8e20559e88994fb5b6ab3717fdecc940b1d00c3e4969a38575205c562cd559/gitHusband/Validation
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/be8e20559e88994fb5b6ab3717fdecc940b1d00c3e4969a38575205c562cd559/gitHusband/Validation
og:image:altA simple, intuitive and customizable data validator - gitHusband/Validation
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/gitHusband/Validation git https://github.com/gitHusband/Validation.git
octolytics-dimension-user_id23734057
octolytics-dimension-user_logingitHusband
octolytics-dimension-repository_id258116908
octolytics-dimension-repository_nwogitHusband/Validation
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id258116908
octolytics-dimension-repository_network_root_nwogitHusband/Validation
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/gitHusband/Validation#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FgitHusband%2FValidation
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FgitHusband%2FValidation
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=gitHusband%2FValidation
Reloadhttps://patch-diff.githubusercontent.com/gitHusband/Validation
Reloadhttps://patch-diff.githubusercontent.com/gitHusband/Validation
Reloadhttps://patch-diff.githubusercontent.com/gitHusband/Validation
gitHusband https://patch-diff.githubusercontent.com/gitHusband
Validationhttps://patch-diff.githubusercontent.com/gitHusband/Validation
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FgitHusband%2FValidation
Fork 3 https://patch-diff.githubusercontent.com/login?return_to=%2FgitHusband%2FValidation
Star 238 https://patch-diff.githubusercontent.com/login?return_to=%2FgitHusband%2FValidation
MIT license https://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/LICENSE
238 stars https://patch-diff.githubusercontent.com/gitHusband/Validation/stargazers
3 forks https://patch-diff.githubusercontent.com/gitHusband/Validation/forks
Branches https://patch-diff.githubusercontent.com/gitHusband/Validation/branches
Tags https://patch-diff.githubusercontent.com/gitHusband/Validation/tags
Activity https://patch-diff.githubusercontent.com/gitHusband/Validation/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2FgitHusband%2FValidation
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FgitHusband%2FValidation
Code https://patch-diff.githubusercontent.com/gitHusband/Validation
Issues 0 https://patch-diff.githubusercontent.com/gitHusband/Validation/issues
Pull requests 0 https://patch-diff.githubusercontent.com/gitHusband/Validation/pulls
Actions https://patch-diff.githubusercontent.com/gitHusband/Validation/actions
Projects 0 https://patch-diff.githubusercontent.com/gitHusband/Validation/projects
Security 0 https://patch-diff.githubusercontent.com/gitHusband/Validation/security
Insights https://patch-diff.githubusercontent.com/gitHusband/Validation/pulse
Code https://patch-diff.githubusercontent.com/gitHusband/Validation
Issues https://patch-diff.githubusercontent.com/gitHusband/Validation/issues
Pull requests https://patch-diff.githubusercontent.com/gitHusband/Validation/pulls
Actions https://patch-diff.githubusercontent.com/gitHusband/Validation/actions
Projects https://patch-diff.githubusercontent.com/gitHusband/Validation/projects
Security https://patch-diff.githubusercontent.com/gitHusband/Validation/security
Insights https://patch-diff.githubusercontent.com/gitHusband/Validation/pulse
Brancheshttps://patch-diff.githubusercontent.com/gitHusband/Validation/branches
Tagshttps://patch-diff.githubusercontent.com/gitHusband/Validation/tags
https://patch-diff.githubusercontent.com/gitHusband/Validation/branches
https://patch-diff.githubusercontent.com/gitHusband/Validation/tags
177 Commitshttps://patch-diff.githubusercontent.com/gitHusband/Validation/commits/main/
https://patch-diff.githubusercontent.com/gitHusband/Validation/commits/main/
.github/workflowshttps://patch-diff.githubusercontent.com/gitHusband/Validation/tree/main/.github/workflows
.github/workflowshttps://patch-diff.githubusercontent.com/gitHusband/Validation/tree/main/.github/workflows
srchttps://patch-diff.githubusercontent.com/gitHusband/Validation/tree/main/src
srchttps://patch-diff.githubusercontent.com/gitHusband/Validation/tree/main/src
testshttps://patch-diff.githubusercontent.com/gitHusband/Validation/tree/main/tests
testshttps://patch-diff.githubusercontent.com/gitHusband/Validation/tree/main/tests
.gitignorehttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/.gitignore
CHANGELOG.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/CHANGELOG.md
CHANGELOG.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/CHANGELOG.md
ENTITY.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/ENTITY.md
ENTITY.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/ENTITY.md
LICENSEhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/LICENSE
README-EN.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/README-EN.md
README-EN.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/README-EN.md
README.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/README.md
README.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/README.md
TODO.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/TODO.md
TODO.mdhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/TODO.md
composer.jsonhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/composer.json
composer.jsonhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/composer.json
READMEhttps://patch-diff.githubusercontent.com/gitHusband/Validation
MIT licensehttps://patch-diff.githubusercontent.com/gitHusband/Validation
Englishhttps://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/README-EN.md
https://hits.seeyoufarm.com
https://hits.seeyoufarm.com
https://hits.seeyoufarm.com
https://hits.seeyoufarm.com
https://patch-diff.githubusercontent.com/gitHusband/Validation#目录
Validation —— 一款 PHP 直观的数据验证器https://patch-diff.githubusercontent.com/gitHusband/Validation#validation--%E4%B8%80%E6%AC%BE-php-%E7%9B%B4%E8%A7%82%E7%9A%84%E6%95%B0%E6%8D%AE%E9%AA%8C%E8%AF%81%E5%99%A8
1. 简介https://patch-diff.githubusercontent.com/gitHusband/Validation#1-%E7%AE%80%E4%BB%8B
1.1 特点https://patch-diff.githubusercontent.com/gitHusband/Validation#11-%E7%89%B9%E7%82%B9
1.2 一个例子https://patch-diff.githubusercontent.com/gitHusband/Validation#12-%E4%B8%80%E4%B8%AA%E4%BE%8B%E5%AD%90
2. 安装https://patch-diff.githubusercontent.com/gitHusband/Validation#2-%E5%AE%89%E8%A3%85
3. 开发https://patch-diff.githubusercontent.com/gitHusband/Validation#3-%E5%BC%80%E5%8F%91
4. 功能介绍https://patch-diff.githubusercontent.com/gitHusband/Validation#4-%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D
4.1 方法及其标志https://patch-diff.githubusercontent.com/gitHusband/Validation#41-%E6%96%B9%E6%B3%95%E5%8F%8A%E5%85%B6%E6%A0%87%E5%BF%97
4.2 正则表达式https://patch-diff.githubusercontent.com/gitHusband/Validation#42-%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F
4.3 方法传参https://patch-diff.githubusercontent.com/gitHusband/Validation#43-%E6%96%B9%E6%B3%95%E4%BC%A0%E5%8F%82
传参的几种方式https://patch-diff.githubusercontent.com/gitHusband/Validation#%E4%BC%A0%E5%8F%82%E7%9A%84%E5%87%A0%E7%A7%8D%E6%96%B9%E5%BC%8F
参数类型https://patch-diff.githubusercontent.com/gitHusband/Validation#%E5%8F%82%E6%95%B0%E7%B1%BB%E5%9E%8B
4.4 自定义方法https://patch-diff.githubusercontent.com/gitHusband/Validation#44-%E8%87%AA%E5%AE%9A%E4%B9%89%E6%96%B9%E6%B3%95
自定义方法的几种方式https://patch-diff.githubusercontent.com/gitHusband/Validation#%E8%87%AA%E5%AE%9A%E4%B9%89%E6%96%B9%E6%B3%95%E7%9A%84%E5%87%A0%E7%A7%8D%E6%96%B9%E5%BC%8F
设置方法标志https://patch-diff.githubusercontent.com/gitHusband/Validation#%E8%AE%BE%E7%BD%AE%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97
4.5 串联并联规则https://patch-diff.githubusercontent.com/gitHusband/Validation#45-%E4%B8%B2%E8%81%94%E5%B9%B6%E8%81%94%E8%A7%84%E5%88%99
4.6 条件规则https://patch-diff.githubusercontent.com/gitHusband/Validation#46-%E6%9D%A1%E4%BB%B6%E8%A7%84%E5%88%99
When 条件规则https://patch-diff.githubusercontent.com/gitHusband/Validation#when-%E6%9D%A1%E4%BB%B6%E8%A7%84%E5%88%99
IF 条件规则https://patch-diff.githubusercontent.com/gitHusband/Validation#if-%E6%9D%A1%E4%BB%B6%E8%A7%84%E5%88%99
4.7 无限嵌套的数据结构https://patch-diff.githubusercontent.com/gitHusband/Validation#47-%E6%97%A0%E9%99%90%E5%B5%8C%E5%A5%97%E7%9A%84%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84
数组自身的规则https://patch-diff.githubusercontent.com/gitHusband/Validation#%E6%95%B0%E7%BB%84%E8%87%AA%E8%BA%AB%E7%9A%84%E8%A7%84%E5%88%99
4.8 可选字段https://patch-diff.githubusercontent.com/gitHusband/Validation#48-%E5%8F%AF%E9%80%89%E5%AD%97%E6%AE%B5
4.9 特殊的验证规则https://patch-diff.githubusercontent.com/gitHusband/Validation#49-%E7%89%B9%E6%AE%8A%E7%9A%84%E9%AA%8C%E8%AF%81%E8%A7%84%E5%88%99
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
启用实体(重点)https://patch-diff.githubusercontent.com/gitHusband/Validation#%E5%90%AF%E7%94%A8%E5%AE%9E%E4%BD%93%E9%87%8D%E7%82%B9
4.11 国际化https://patch-diff.githubusercontent.com/gitHusband/Validation#411-%E5%9B%BD%E9%99%85%E5%8C%96
4.12 验证全部数据https://patch-diff.githubusercontent.com/gitHusband/Validation#412-%E9%AA%8C%E8%AF%81%E5%85%A8%E9%83%A8%E6%95%B0%E6%8D%AE
4.13 错误信息模板https://patch-diff.githubusercontent.com/gitHusband/Validation#413-%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A8%A1%E6%9D%BF
4.14 错误信息格式https://patch-diff.githubusercontent.com/gitHusband/Validation#414-%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A0%BC%E5%BC%8F
附录 1 - 方法标志及其含义https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
附录 2 - 验证完整示例https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-2---%E9%AA%8C%E8%AF%81%E5%AE%8C%E6%95%B4%E7%A4%BA%E4%BE%8B
附录 3 - 错误信息格式https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-3---%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A0%BC%E5%BC%8F
一维字符型结构https://patch-diff.githubusercontent.com/gitHusband/Validation#%E4%B8%80%E7%BB%B4%E5%AD%97%E7%AC%A6%E5%9E%8B%E7%BB%93%E6%9E%84
一维关联型结构https://patch-diff.githubusercontent.com/gitHusband/Validation#%E4%B8%80%E7%BB%B4%E5%85%B3%E8%81%94%E5%9E%8B%E7%BB%93%E6%9E%84
无限嵌套字符型结构https://patch-diff.githubusercontent.com/gitHusband/Validation#%E6%97%A0%E9%99%90%E5%B5%8C%E5%A5%97%E5%AD%97%E7%AC%A6%E5%9E%8B%E7%BB%93%E6%9E%84
无限嵌套关联型结构https://patch-diff.githubusercontent.com/gitHusband/Validation#%E6%97%A0%E9%99%90%E5%B5%8C%E5%A5%97%E5%85%B3%E8%81%94%E5%9E%8B%E7%BB%93%E6%9E%84
https://patch-diff.githubusercontent.com/gitHusband/Validation#validation--一款-php-直观的数据验证器
github 仓库https://github.com/gitHusband/Validation
https://patch-diff.githubusercontent.com/gitHusband/Validation#1-简介
https://patch-diff.githubusercontent.com/gitHusband/Validation#11-特点
https://patch-diff.githubusercontent.com/gitHusband/Validation#12-一个例子
附录 2 - 验证完整示例https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-2---%E9%AA%8C%E8%AF%81%E5%AE%8C%E6%95%B4%E7%A4%BA%E4%BE%8B
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
https://patch-diff.githubusercontent.com/gitHusband/Validation#2-安装
https://patch-diff.githubusercontent.com/gitHusband/Validation#3-开发
Composer Scripthttps://getcomposer.org/doc/articles/scripts.md
Dockerhttps://www.docker.com/products/docker-desktop/
PHP v5.6https://hub.docker.com/layers/library/php/5.6-cli-alpine/images/sha256-5dd6b6ea600342303f987d33524c0fae0347ae13be6ae55691d4acb873c203ea?context=explore
PHP v7.4.33https://hub.docker.com/layers/library/php/7.4.33-cli-alpine/images/sha256-1e1b3bb4ee1bcb039f559adb9a3fae391c87205ba239b619cdc239b78b7f2557?context=explore
PHP 最新版本https://hub.docker.com/layers/library/php/latest/images/sha256-43b84b891f59311867c9b8e18f1ec646b32cb6376475bcd2d489bab912f4f21f?context=explore
1.2 一个例子https://patch-diff.githubusercontent.com/gitHusband/Validation#12-%E4%B8%80%E4%B8%AA%E4%BE%8B%E5%AD%90
附录 2 - 验证完整示例https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-2---%E9%AA%8C%E8%AF%81%E5%AE%8C%E6%95%B4%E7%A4%BA%E4%BE%8B
https://patch-diff.githubusercontent.com/gitHusband/Validation#4-功能介绍
https://patch-diff.githubusercontent.com/gitHusband/Validation#41-方法及其标志
附录 1 - 方法标志及其含义https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
https://patch-diff.githubusercontent.com/gitHusband/Validation#42-正则表达式
https://patch-diff.githubusercontent.com/gitHusband/Validation#43-方法传参
https://patch-diff.githubusercontent.com/gitHusband/Validation#传参的几种方式
设置方法标志https://patch-diff.githubusercontent.com/gitHusband/Validation#%E8%AE%BE%E7%BD%AE%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
https://patch-diff.githubusercontent.com/gitHusband/Validation#参数类型
https://patch-diff.githubusercontent.com/gitHusband/Validation#44-自定义方法
附录 1 - 方法标志及其含义https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
4.13 错误信息模板 - 3. 在方法中直接返回模板https://patch-diff.githubusercontent.com/gitHusband/Validation#413-%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A8%A1%E6%9D%BF
https://patch-diff.githubusercontent.com/gitHusband/Validation#自定义方法的几种方式
https://patch-diff.githubusercontent.com/gitHusband/Validation#1-新增方法add_methodmethod-callable-method_symbol--
https://patch-diff.githubusercontent.com/gitHusband/Validation#2-新增方法类add_rule_class
https://patch-diff.githubusercontent.com/gitHusband/Validation#3-拓展-validation-类
traithttps://www.php.net/manual/zh/language.oop5.traits.php
https://patch-diff.githubusercontent.com/gitHusband/Validation#4-全局函数
https://patch-diff.githubusercontent.com/gitHusband/Validation#设置方法标志
附录 1 - 方法标志及其含义https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
4.3 方法传参https://patch-diff.githubusercontent.com/gitHusband/Validation#43-%E6%96%B9%E6%B3%95%E4%BC%A0%E5%8F%82
2. 新增方法类https://patch-diff.githubusercontent.com/gitHusband/Validation#2-%E6%96%B0%E5%A2%9E%E6%96%B9%E6%B3%95%E7%B1%BBadd_rule_class
https://patch-diff.githubusercontent.com/gitHusband/Validation#45-串联并联规则
https://patch-diff.githubusercontent.com/gitHusband/Validation#46-条件规则
https://patch-diff.githubusercontent.com/gitHusband/Validation#when-条件规则
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
https://patch-diff.githubusercontent.com/gitHusband/Validation#if-条件规则
附录 1 - 方法标志及其含义https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
https://patch-diff.githubusercontent.com/gitHusband/Validation#47-无限嵌套的数据结构
https://patch-diff.githubusercontent.com/gitHusband/Validation#数组自身的规则
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
4.8 可选字段https://patch-diff.githubusercontent.com/gitHusband/Validation#48-%E5%8F%AF%E9%80%89%E5%AD%97%E6%AE%B5
https://patch-diff.githubusercontent.com/gitHusband/Validation#48-可选字段
https://patch-diff.githubusercontent.com/gitHusband/Validation#49-特殊的验证规则
4.8 可选字段https://patch-diff.githubusercontent.com/gitHusband/Validation#48-%E5%8F%AF%E9%80%89%E5%AD%97%E6%AE%B5
4.5 串联并联规则https://patch-diff.githubusercontent.com/gitHusband/Validation#45-%E4%B8%B2%E8%81%94%E5%B9%B6%E8%81%94%E8%A7%84%E5%88%99
4.7 无限嵌套的数据结构https://patch-diff.githubusercontent.com/gitHusband/Validation#47-%E6%97%A0%E9%99%90%E5%B5%8C%E5%A5%97%E7%9A%84%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84
客制化https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
https://patch-diff.githubusercontent.com/gitHusband/Validation#410-客制化配置
1.2 一个例子https://patch-diff.githubusercontent.com/gitHusband/Validation#12-%E4%B8%80%E4%B8%AA%E4%BE%8B%E5%AD%90
https://patch-diff.githubusercontent.com/gitHusband/Validation#启用实体重点
swoolehttps://wiki.swoole.com/zh-cn/#/
这里https://patch-diff.githubusercontent.com/gitHusband/Validation/blob/main/ENTITY.md
https://patch-diff.githubusercontent.com/gitHusband/Validation#411-国际化
4.13 错误信息模板https://patch-diff.githubusercontent.com/gitHusband/Validation#413-%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A8%A1%E6%9D%BF
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
标志https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
https://patch-diff.githubusercontent.com/gitHusband/Validation#412-验证全部数据
https://patch-diff.githubusercontent.com/gitHusband/Validation#413-错误信息模板
国际化https://patch-diff.githubusercontent.com/gitHusband/Validation#411-%E5%9B%BD%E9%99%85%E5%8C%96
4.10 客制化配置https://patch-diff.githubusercontent.com/gitHusband/Validation#410-%E5%AE%A2%E5%88%B6%E5%8C%96%E9%85%8D%E7%BD%AE
国际化https://patch-diff.githubusercontent.com/gitHusband/Validation#411-%E5%9B%BD%E9%99%85%E5%8C%96
附录 1 - 方法标志及其含义https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-1---%E6%96%B9%E6%B3%95%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E5%90%AB%E4%B9%89
国际化https://patch-diff.githubusercontent.com/gitHusband/Validation#411-%E5%9B%BD%E9%99%85%E5%8C%96
4.11 国际化https://patch-diff.githubusercontent.com/gitHusband/Validation#411-%E5%9B%BD%E9%99%85%E5%8C%96
https://patch-diff.githubusercontent.com/gitHusband/Validation#414-错误信息格式
附录 3 - 错误信息格式https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-3---%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A0%BC%E5%BC%8F
https://patch-diff.githubusercontent.com/gitHusband/Validation#附录-1---方法标志及其含义
可变长度参数https://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list
https://patch-diff.githubusercontent.com/gitHusband/Validation#附录-2---验证完整示例
附录 3 - 错误信息格式https://patch-diff.githubusercontent.com/gitHusband/Validation#%E9%99%84%E5%BD%95-3---%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%A0%BC%E5%BC%8F
https://patch-diff.githubusercontent.com/gitHusband/Validation#附录-3---错误信息格式
https://patch-diff.githubusercontent.com/gitHusband/Validation#一维字符型结构
https://patch-diff.githubusercontent.com/gitHusband/Validation#一维关联型结构
https://patch-diff.githubusercontent.com/gitHusband/Validation#无限嵌套字符型结构
https://patch-diff.githubusercontent.com/gitHusband/Validation#无限嵌套关联型结构
Readme https://patch-diff.githubusercontent.com/gitHusband/Validation#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/gitHusband/Validation#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/gitHusband/Validation
Activityhttps://patch-diff.githubusercontent.com/gitHusband/Validation/activity
238 starshttps://patch-diff.githubusercontent.com/gitHusband/Validation/stargazers
2 watchinghttps://patch-diff.githubusercontent.com/gitHusband/Validation/watchers
3 forkshttps://patch-diff.githubusercontent.com/gitHusband/Validation/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FgitHusband%2FValidation&report=gitHusband+%28user%29
Releases 14https://patch-diff.githubusercontent.com/gitHusband/Validation/releases
v2.6.1 Latest Aug 28, 2024 https://patch-diff.githubusercontent.com/gitHusband/Validation/releases/tag/v2.6.1
+ 13 releaseshttps://patch-diff.githubusercontent.com/gitHusband/Validation/releases
Packages 0https://patch-diff.githubusercontent.com/users/gitHusband/packages?repo_name=Validation
Please reload this pagehttps://patch-diff.githubusercontent.com/gitHusband/Validation
PHP 99.9% https://patch-diff.githubusercontent.com/gitHusband/Validation/search?l=php
Shell 0.1% https://patch-diff.githubusercontent.com/gitHusband/Validation/search?l=shell
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.