Seeing Laravel get rewritten in every other language this week, maybe I should have written this package in Rust, Go, Zig or even COBOL :) Anyway. I maintain Simple Data Objects, a DTO library for Laravel 12–13 and any PHP application. I posted it here back on 1.x, with the benchmark: https://github...
I maintain Simple Data Objects, a typed PHP DTO library for Laravel and standalone PHP applications. The main idea is simple: DTO metadata is compiled once and reused for hydration, serialization, validation, casting, JSON Schema generation, and TypeScript generation. That avoids repeatedly discover...
Wrote up how I moved a PHP DTO hydration library from reflection-based instantiation to compiled, per-class factory closures - reflection overhead disappears, plain properties become inline array reads, and the generated code gets cached so a warmed FPM worker pays neither reflection nor eval(). Wen...