Respect Validation
Valitron
Our great sponsors
Respect Validation | Valitron | |
---|---|---|
1 | 1 | |
5,531 | 1,457 | |
0.4% | - | |
0.0 | 3.7 | |
6 days ago | 2 months 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
-
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?
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!
ISO-codes - PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
JSON Schema - PHP implementation of JSON schema. Fork of the http://jsonschemaphpv.sourceforge.net/ project
Validator - Simple yet powerful data validating library from Claritie.
Upload - File uploads with validation and storage strategies
yii2-array-structure-validator - Validate complex array structure
Aura.Filter - Validate and sanitize arrays and objects.