dbstudios/doze
Doze is a small PHP response helper built on Symfony Serializer/HttpFoundation. Configure a serializer + responder to produce encoded responses (e.g., JSON) and use its field selector/attributes support to return only requested fields in API payloads.
Doze is a lightweight PHP response helper built around symfony/serializer and symfony/http-foundation. It focuses on turning arrays/objects into consistent HTTP responses with minimal setup: provide a serializer and a responder, then generate formatted output (e.g., JSON) with proper status codes and headers.
It also adds a practical field selector notation so API consumers can request only specific attributes, reducing payload size and improving clarity—while still leveraging Symfony Serializer context options.
Responder::createResponse()attributes)How can I help you explore Laravel packages today?