Valinor 2.6.0 • PHP object mapper with strong type support

4 days ago by exakat to c/php

PHP library that helps to map any input into a strongly-typed value object structure.
Aquila 1 point 4 days ago

Does it do sanitization?

Edit: also is this an ai project? It seems kinda pointless. Like why do i need to feed the library a schema when it just copies the json 1:1? Hows it different from json_decode?

Would also like to see the data structures filled in the examples after running the mapper.

path: 0 25323785, hotness: undefined, score: 1, children: 1
exakat 2 points 3 days ago

This is an old project, with real flesh behind. I don't know if he is using AI to any extend, but I trust his lead.

path: 0 25323785 25339647, hotness: undefined, score: 2, children: 0
php
php

@lemmy.world

login for more options
430
202
59

<?

namespace lemmy\php;

/*

Welcome to the PHP community on Lemmy

#Rules:

1: Soon(TM)

#Helpful stuff:

PHP Documentation

Composer

PHP Standards

#Common frameworks:

Symfony

Larvel

*/

echo "Welcome";

go to feed...