JSON Schema
Valitron
JSON Schema | Valitron | |
---|---|---|
2 | 2 | |
3,507 | 1,554 | |
- | - | |
3.6 | 0.0 | |
about 2 months ago | 18 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.
JSON Schema
-
How do you validate data?
We use this JSON schema library to validate incoming HTTP requests. We sometimes share schemas across the backend and frontend (this is very nice), and we also generate API documentation using the schemas.
- URGENT: Import page for JSON files does not work. PHP
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?
Respect Validation - The most awesome validation engine ever created for PHP
Assert - Thin assertion library for use in libraries and business-model
PHP validate - Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。
validation - PHP Standalone Validation Library
Upload - File uploads with validation and storage strategies
Packagist - Package Repository Website - try https://packagist.com if you need your own -
ISO-codes - PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
nutgram - The Telegram bot framework that doesn't drive you nuts.
MetaYaml - A powerful schema validator!
WordPress Packagist - WordPress Packagist — manage your plugins with Composer
Filterus - A simple filtering library for PHP