Valitron
mighty
Valitron | mighty | |
---|---|---|
2 | 5 | |
1,554 | 57 | |
- | - | |
0.0 | 0.0 | |
22 days ago | over 1 year ago | |
PHP | PHP | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
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.
mighty
-
October 2022 monthly "What are you working on?" thread
I wrote a specification a while back for an Expression Language for data validation (mostly for input in loosely typed languages) called Mighty. It’s a pretty simple, expressive, and powerful language that makes validating structured data a breeze. I already implemented it in PHP and currently working on implementing it in other languages (JavaScript makes sense the most right now). The goal is to make an embeddable language to unify how data is validated across multiple languages.
-
Introducing Mighty, the last validation library you will ever need!
Operators (NOT, AND, OR, XOR). See the spec.
What are some alternatives?
Respect Validation - The most awesome validation engine ever created for PHP
boba-core - Core Boba definitions necessary for all Boba pearls and programs to compile
PHP validate - Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。
astatine - Astatine is a is a mid-level, statically typed, procedural programming language with some functional components.
Upload - File uploads with validation and storage strategies
sirius - The Sirius programming langauge
ISO-codes - PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
hindley-milner - simply typed lambda calculus with hindley-milner type inference
MetaYaml - A powerful schema validator!
composer-attribute-collector - A convenient and near zero-cost way to retrieve targets of PHP 8 attributes
Filterus - A simple filtering library for PHP
clauf - A C interpreter developed live on YouTube