codememory/entity-response-control
Define response prototypes to shape arrays from Doctrine entities using PHP attributes. Build API-friendly payloads with custom formatting, naming strategies, and decorators, including extra per-object data from additional queries.
Controls the response from entities or other objects based on constraints
How can I help you explore Laravel packages today?