
Valinor
Valinor maps input data into strongly typed PHP structures without external dependencies.

About Valinor
Valinor is a dependency-free PHP library that maps raw inputs such as JSON and plain arrays into strongly typed objects. It constructs and validates the data during mapping and reports incorrect values with precise, human-readable error messages.
It handles native PHP types as well as advanced types used by PHPStan and Psalm, including shaped arrays, generics, and integer ranges. It also provides normalization to transform data into formats such as JSON and CSV while preserving the original structure. It is installed with composer require cuyz/valinor and distributed under the MIT license.
Key features
- Maps JSON and plain arrays into strongly typed PHP objects
- Validates input values with precise human-readable error messages
- Supports shaped arrays, generics, and integer ranges
- Transforms data into JSON and CSV while preserving structure
- Installs via Composer without external dependencies
- Maps nested objects such as lists of custom classes
- Has no external dependencies
- Provides precise, human-readable messages for incorrect values
- Supports native PHP types and advanced PHPStan and Psalm types
Valinor at a glance
- Website
- github.com/CuyZ/Valinor
- Category
- Development › Developer Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Good for
- Developers
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
Valinor alternatives
Tools and sites you could use instead, ranked by how closely they match.
Browse a list of tools and programs for developers, DevOps teams, system administrators, and others.
This GitHub repository collects additional online utilities for developers, including contributions from its maintainer and others.
Online tools for common developer tasks are collected in IT Tools, a repository of technical utilities.
Devina groups 78 online tools for text, time, data, media, networking, code, and other work.
Analyze binary data and use pattern language or disassembly in ImHex, an open-source hex editor for reverse engineers and developers.
The repository collects server implementations for the Model Context Protocol.
Popular in Developer Tools
Well-known listings from the same topic.
Valinor FAQ
How do I install Valinor?
What kinds of input can Valinor map?
What type definitions can the mapper handle?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.













