Respect Validation
Valitron
Our great sponsors
Respect Validation | Valitron | |
---|---|---|
1 | 2 | |
5,717 | 1,555 | |
0.2% | - | |
9.2 | 0.0 | |
7 days ago | 4 days ago | |
PHP | PHP | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Respect Validation
-
Bouncer - An extensible validation library for your data with sane defaults.
You're welcome :) Well, I could think of many scenarios such zipcode, uuids, etc, that represent world information per-se, also in circunstances where you should validate fields that depend on others, or even when tangling with regex validation. You could check Respect/Validation out (https://github.com/Respect/Validation) that does something similar or Rakit/Validation (https://github.com/rakit/validation). They present a nice API to work with and a structure closer to yours.
Valitron
-
Introducing Mighty, the last validation library you will ever need!
So what exactly would make me use this instead of something like https://github.com/vlucas/valitron?
-
Weekly "ask anything" thread
I'd suggest checking out some validation libraries, of which there's many. Valitron looks like it might fit your needs: it supports 5.3, it's actively maintained, and it comes with pretty nice set of validators, both for scalar form inputs and complex objects.
What are some alternatives?
Upload - File uploads with validation and storage strategies
PHP validate - Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。
ISO-codes - PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
Cake Validation - [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
Filterus - A simple filtering library for PHP
MetaYaml - A powerful schema validator!
Linio Input - Abstracts HTTP request input handling, providing an easy interface for data hydration and validation
Validator - Simple yet powerful data validating library from Claritie.