awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

PHP Validation Libraries

排名更新于 2026年7月13日

For a library for validating data in PHP, the strongest matches are symfony/validator (This library is a comprehensive, PSR-compliant validation engine that), respect/validation (Respect/Validation is a comprehensive PHP library that provides a) and vlucas/valitron (Valitron is a lightweight, dependency-free PHP validation library that). cakephp/validation is also worth a look. Each is ranked by relevance to your query, popularity and recent activity.

我们为您精选了匹配 “best php validation libraries” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。

PHP Validation Libraries

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • symfony/validatorsymfony 的头像

    symfony/validator

    2,689在 GitHub 上查看↗

    This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and complex object structures against predefined constraints. It provides a structured approach to inspecting object graphs and property metadata, ensuring that data conforms to expected requirements before it is processed by an application. The framework distinguishes itself through a metadata-driven mapping system that uses reflection or configuration files to apply rules directly to object properties. It supports contextual rule orchestration, allowing developers to organize constrai

    This library is a comprehensive, PSR-compliant validation engine that supports schema-based object mapping, custom constraint rules, and localized error reporting, making it a flagship tool for data integrity in PHP.

    PHPData ValidationPHP Validation LibrariesConstraint Mappings
    在 GitHub 上查看↗2,689
  • respect/validationRespect 的头像

    Respect/Validation

    6,027在 GitHub 上查看↗

    Respect/Validation is a PHP validation library that operates on single input values through a fluent, chainable rule system. Each validator instance builds a linear constraint pipeline by appending rules to an internal stack, executing them sequentially and short-circuiting on the first failure. The library captures validation failures as structured exceptions, enabling callers to inspect detailed error metadata programmatically and respond with meaningful messages. The library distinguishes itself through its exception-based error handling model, which provides programmatic access to validat

    Respect/Validation is a comprehensive PHP library that provides a highly fluent, chainable API for building complex validation rules, making it a flagship tool for validating data structures and user input.

    PHPPHP Validation LibrariesException-Based Error HandlingFluent Validation Rules
    在 GitHub 上查看↗6,027
  • vlucas/valitronvlucas 的头像

    vlucas/valitron

    1,603在 GitHub 上查看↗

    Valitron is a simple, elegant, stand-alone validation library with NO dependencies

    Valitron is a lightweight, dependency-free PHP validation library that provides a fluent API and support for custom rules, making it a solid choice for validating user input.

    PHPValidation and Sanitization
    在 GitHub 上查看↗1,603
  • cakephp/validationcakephp 的头像

    cakephp/validation

    42在 GitHub 上查看↗

    READ-ONLY Validation library from CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

    This library provides a robust, schema-based validation system with support for custom rules and a fluent API, making it a direct fit for your data validation needs in PHP.

    PHPValidation and Sanitization
    在 GitHub 上查看↗42

Related searches

  • a lightweight validation library for JavaScript
  • a java library for data validation
  • a data validation library for Go
  • a data validation library for Rust
  • React 表单验证库
  • 基于 Python 类型提示的数据验证库
  • a testing framework for PHP applications
  • 模型属性验证库