Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Doze Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Uses Symfony Serializer normalizers/encoders for flexible output (e.g., JSON)
  • Generates HTTP Foundation Response objects via a simple Responder::createResponse()
  • Supports attribute filtering through serializer context (attributes)
  • Adds selector notation to build attribute filters more conveniently
  • Designed for quick, framework-agnostic integration
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware