{"id":17249467,"url":"https://github.com/inhere/php-validate","last_synced_at":"2025-04-12T19:48:26.750Z","repository":{"id":45826274,"uuid":"55461736","full_name":"inhere/php-validate","owner":"inhere","description":"Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组，前置过滤，数组检查，自定义验证器，自定义消息。","archived":false,"fork":false,"pushed_at":"2023-10-30T13:43:41.000Z","size":634,"stargazers_count":258,"open_issues_count":15,"forks_count":33,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-12T19:48:17.526Z","etag":null,"topics":["filter","library","php-validation","tool","validate","validation","validation-library"],"latest_commit_sha":null,"homepage":"https://inhere.github.io/php-validate/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inhere.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-05T02:35:03.000Z","updated_at":"2024-12-16T11:18:01.000Z","dependencies_parsed_at":"2024-06-18T13:56:05.986Z","dependency_job_id":"2044bb8c-a80a-412d-9a90-b0c516a4dfdf","html_url":"https://github.com/inhere/php-validate","commit_stats":{"total_commits":231,"total_committers":11,"mean_commits":21.0,"dds":"0.21212121212121215","last_synced_commit":"41783c5f0e540357194f1dad0eb7e638981ed0e6"},"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhere%2Fphp-validate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhere%2Fphp-validate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhere%2Fphp-validate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhere%2Fphp-validate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inhere","download_url":"https://codeload.github.com/inhere/php-validate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625500,"owners_count":21135513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filter","library","php-validation","tool","validate","validation","validation-library"],"created_at":"2024-10-15T06:44:26.573Z","updated_at":"2025-04-12T19:48:26.729Z","avatar_url":"https://github.com/inhere.png","language":"PHP","readme":"# PHP Validate\n\n[![License](https://img.shields.io/packagist/l/inhere/php-validate.svg?style=flat-square)](LICENSE)\n[![Php Version](https://img.shields.io/badge/php-%3E=8.1-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/php-validate)\n[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/php-validate.svg)](https://packagist.org/packages/inhere/php-validate)\n[![Coverage Status](https://coveralls.io/repos/github/inhere/php-validate/badge.svg?branch=master)](https://coveralls.io/github/inhere/php-validate?branch=master)\n[![Github Actions Status](https://github.com/inhere/php-validate/workflows/Unit-tests/badge.svg)](https://github.com/inhere/php-validate/actions)\n[![zh-CN readme](https://img.shields.io/badge/中文-Readme-brightgreen.svg?style=for-the-badge\u0026maxAge=2592000)](README.md)\n\nLightweight and feature-rich PHP validation and filtering library.\n\n- Simple and convenient, support to add custom validator\n- Support pre-verification check, customize how to judge non-empty\n- Support grouping rules by scene. Or partial verification\n- Supports the use of filters to purify and filter values before verification [built-in filter](#built-in-filters)\n- Support pre-processing and post-processing of verification [independent verification processing](#on-in-Validation)\n- Support to customize the error message, field translation, message translation of each verification, and support the default value\n- Supports basic array checking, checking of children (`'goods.apple'`) values ​​of arrays, checking of children of wildcards (`'users.*.id' 'goods.*'`)\n- Easy access to error information and secure data after verification (only data that has been checked regularly)\n- More than 60 commonly used validators have been built-in [built-in validator](#built-in-validators)\n- Rule setting reference `yii`, `laravel`, `Respect/Validation`\n- Independent filter `Inhere\\Validate\\Filter\\Filtration`, can be used for data filtering alone\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finhere%2Fphp-validate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finhere%2Fphp-validate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finhere%2Fphp-validate/lists"}