nette/schema
📐 Validating data structures against a given Schema. observed · 2026-09-03
Health v2 · maintenance only
91/100
- Activity 100
- Release rhythm 74
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 175
- age_days: 2715
- days_rel: 16
- days_push: 0
- n_releases_24m: 4
Adoption not part of the score
1011 stars · 30 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Nette Schema is a PHP library for validating and normalizing data structures against a defined schema using a fluent Expect API. It processes arrays or objects (e.g., API payloads or config files) and returns normalized data or detailed validation errors.
Use cases
- validate user-submitted API payloads in PHP
- validate and normalize configuration files
- enforce structure of nested arrays and objects
- validate JSON data against a schema
- normalize input data types before processing
- collect all validation error messages at once
When to choose
- you need schema-based validation and normalization of arrays/objects in PHP 8.1+
- you want a readable, fluent schema definition API
- you need detailed, structured validation error messages
- you're already in the Nette ecosystem
When to avoid
- you need JSON Schema standard compliance or interoperability
- your project is not PHP
- you only need simple type checks that built-in PHP functions cover
Facets
library · maturity stable
form-handling serialization configuration-management developer-tools web-development apis php cli data-structures schema-validation normalization nette-framework config-validation
7 sources
- readme: https://github.com/nette/schema · fetched 2026-09-03 · 6b0c1916b3c9
- homepage: https://doc.nette.org/schema · fetched 2026-08-29 · deac99f8b50a
- site_page: https://doc.nette.org/en/contributing/documentation · fetched 2026-08-29 · 7d2a71a103a6
- site_page: https://doc.nette.org/en · fetched 2026-08-29 · 593c2062fa13
- site_page: https://nette.org/en/releases · fetched 2026-08-29 · aa39e1b5cbb1
- site_page: https://doc.nette.org · fetched 2026-08-29 · b052116b2a14
- site_page: https://nette.org/en/history · fetched 2026-08-29 · 286192274b00
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nette/schema | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem