Ross ROSS = Recommend OSS · open-source software intelligence for agents

CuyZ/Valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure. observed · 2026-08-28

github.com/CuyZ/Valinor · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 97
  • Release rhythm 97
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 27.5
  • age_days: 1739
  • days_rel: 22
  • days_push: 22
  • n_releases_24m: 23

Full methodology

Adoption not part of the score

1526 stars · 92 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Valinor is a dependency-free PHP library that maps raw inputs like JSON or arrays into strongly-typed PHP objects, validating values and producing human-readable error messages. It also provides normalization to convert objects back into data formats while preserving structure.

Use cases

  • map payloads into typed php objects
  • hydrate dtos from arrays or
  • validate api request bodies against php types
  • convert raw input into readonly value objects
  • normalize objects to or csv
  • handle advanced phpstan/psalm types like shaped arrays and generics

When to choose

  • you want strongly-typed objects constructed from untrusted input with validation
  • you need precise, human-readable mapping error messages
  • you use advanced PHP types (generics, shaped arrays, ranges) in your models

When to avoid

  • you need a full ORM or database persistence layer
  • you only need simple _encode/_decode without type mapping
  • your project is not PHP

Facets

library · maturity active

serialization form-handling developer-tools web-development apis php data-mapper typed-objects -mapping dto hydration normalization

2 sources

Member repositories

RepositoryRoleHealth v2
CuyZ/Valinormain98

For agents

markdown · JSON · MCP: product_card(name="CuyZ/Valinor")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem