🔔 Valinor 2.7.0 is out! Valinor is a #PHP library that maps loose input (JSON, ...
Romain Canon @Romm@mastodon.social
🔔 Valinor 2.7.0 is out!
Valinor is a #PHP library that maps loose input (JSON, arrays, query strings…) into strongly-typed, validated objects.
Values fixed by generics: a property typed with a template now gets its value from the generic, so one `Text` class can serve as `Text<80>` for a title and `Text<5000>` for a body, with only the text in the source.
Full changelog: https://github.com/CuyZ/Valinor/releases/tag/2.7.0