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

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

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

aplus-framework/validation

0
View on GitHub↗
237 星标·5 分支·PHP·MIT·4 次浏览aplus-framework.com/packages/validation↗

Validation

该库是一个 PHP 框架,专为验证和清理输入数据而设计。它提供了一种结构化的方法,确保信息在被应用处理或存储之前符合预期的格式和完整性要求。

该项目利用流式接口构建验证逻辑,允许通过链式方法定义复杂的规则。它采用基于策略的执行模型,其中各个验证组件被封装,并可动态分配给数据字段。当验证失败时,系统使用基于异常的方法返回关于特定约束违规的结构化反馈。

该库涵盖了广泛的数据处理任务,包括验证 API 请求负载和 Web 表单提交。它还集成了基于过滤器的清理功能,以修改或移除原始输入中的不安全字符,从而帮助维护数据完整性并防止安全漏洞。

Features

  • PHP Validation Libraries - Provides a PHP-native library for sanitizing and verifying input data against complex validation rules.
  • Form Validation - Provides a comprehensive framework for enforcing constraints on incoming form data.
  • Data Validation - Verifies that incoming data conforms to specified rules and constraints to ensure information integrity.
  • Request Validation - Automates the validation of incoming API request payloads against defined structural constraints.
  • Business Invariant Enforcement - Enforces consistent validation rules to guarantee that only reliable data reaches core business logic.
  • Input Sanitization - Cleans user-provided data by removing unsafe characters to prevent injection and corruption.
  • Validation Rule Engines - Employs a strategy-based engine to encapsulate and dynamically execute validation logic for different data fields.
  • Input Validation Rules - Evaluates incoming data against a collection of predefined constraints to ensure integrity requirements are met.
  • Fluent Validation Rules - Uses a fluent method-chaining interface to define complex validation rules in a readable, prose-like syntax.
  • PHP Error-to-Exception Bridges - Provides a unified mechanism for converting validation failures into structured exceptions for consistent error management.
  • Form Data Validation - Ensures web form submissions meet required format and content requirements before processing.
  • Input Sanitizers - Implements filter-based chains to strip or modify unsafe characters from raw input data.
  • Input Sanitization Utilities - Offers utility functions for cleaning and sanitizing raw input data to maintain system security.

Star 历史

aplus-framework/validation 的 Star 历史图表aplus-framework/validation 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Validation 的精选搜索

收录 Validation 的精选合集。
  • 数据验证库
  • 模型属性验证库

Validation 的开源替代方案

相似的开源项目,按与 Validation 的功能重合度排序。
  • codeigniter4/codeigniter4codeigniter4 的头像

    codeigniter4/CodeIgniter4

    5,924在 GitHub 上查看↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    PHPcodeignitercodeigniter4framework-php
    在 GitHub 上查看↗5,924
  • 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

    PHPcomponentphpsymfony
    在 GitHub 上查看↗2,689
  • chriso/validator.jschriso 的头像

    chriso/validator.js

    23,744在 GitHub 上查看↗

    validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that strings match specific patterns—such as emails, URLs, and alphanumeric formats—and a toolkit for cleaning and transforming text input to remove prohibited characters and trim whitespace. The library includes utilities for standardizing email addresses by lowercasing domains and removing sub-addressing markers. It also functions as an HTML entity escaper, replacing special characters with entities to prevent the browser from executing text as code. The project covers capabili

    JavaScript
    在 GitHub 上查看↗23,744
  • sairyss/domain-driven-hexagonSairyss 的头像

    Sairyss/domain-driven-hexagon

    14,395在 GitHub 上查看↗

    This project is a TypeScript-based architectural framework designed to implement domain-driven design and hexagonal architecture in enterprise applications. It provides a structured boilerplate that isolates core business logic from infrastructure concerns, ensuring that domain entities, use cases, and external technology adapters remain decoupled and maintainable. The framework distinguishes itself by enforcing strict architectural boundaries and dependency inversion, preventing unauthorized access to core logic from external layers. It utilizes a command-query responsibility segregation pat

    TypeScriptarchitectural-patternsarchitecturebackend
    在 GitHub 上查看↗14,395
查看 Validation 的所有 30 个替代方案→

常见问题解答

aplus-framework/validation 是做什么的?

该库是一个 PHP 框架,专为验证和清理输入数据而设计。它提供了一种结构化的方法,确保信息在被应用处理或存储之前符合预期的格式和完整性要求。

aplus-framework/validation 的主要功能有哪些?

aplus-framework/validation 的主要功能包括:PHP Validation Libraries, Form Validation, Data Validation, Request Validation, Business Invariant Enforcement, Input Sanitization, Validation Rule Engines, Input Validation Rules。

aplus-framework/validation 有哪些开源替代品?

aplus-framework/validation 的开源替代品包括: codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… symfony/validator — This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and… chriso/validator.js — validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that… sairyss/domain-driven-hexagon — This project is a TypeScript-based architectural framework designed to implement domain-driven design and hexagonal… handsontable/handsontable — Handsontable is a JavaScript data grid that provides a spreadsheet-like interface for managing and editing large… respect/validation — Respect/Validation is a PHP validation library that operates on single input values through a fluent, chainable rule…