kobykorman/eloquentify
Eloquentify turns one custom SQL query with JSON-aggregated relations into fully hydrated nested Eloquent models, collapsing N+1 and R+1 round trips into a single query with zero configuration.
laravel/framework ^13.0), verified against Laravel 13.x with the full test suite passing^11.0, Pest ^4.0, pest-plugin-laravel ^4.0json_agg/json_build_object and equivalents) named after the model's relation methods, instead of prefixed flat columnseloquentify($result) no longer takes a relations hierarchy — relations are detected from the model's relation methods (which must declare relation return types)pivot key (custom pivot classes and ->as() accessors supported)NULL, [], [null])ModelMeta, the relations-hierarchy argument, and the column prefix schemeauthor() returning User was never supportednest() is protected)morphTo, pivot data, prefix collisions at every level and across branches, row-value conflictspost_repost_id hydrated as reid)AS posts_total)How can I help you explore Laravel packages today?