yiisoft/data-response
yiisoft/data-response provides a PSR-7 response wrapper for returning structured data from your application. It supports multiple output formats, content negotiation, and streaming, making it easy to send JSON, XML, HTML, or raw data consistently.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yiisoft/middleware-dispatcher | 0.87 | A PSR-15 middleware dispatcher for Yii applications. Build and execute middleware pipelines with lazy resolution through the DI container, fallback request handlers, and support for individual middleware or grouped stacks. Integrates cleanly with Yii's request handling and the PSR-7/PSR-15 ecosystem... | 18 | — | 8 | — | 1 | 2.8 | 0.4 | BSD-3-Clause | 10 months ago |
|
| psr/http-server-middleware | 0.87 | PSR-15 HTTP server middleware interfaces for PHP. Provides the MiddlewareInterface specification used by request handlers and middleware stacks; no implementation included. Install via psr/http-server-middleware and use with compatible frameworks or libraries. | 187 | 201 | 11 | 6M | 0 | 1.6 | 55.3 | MIT | 3 years ago | |
| woohoolabs/yang | 0.86 | — | 169 | 170 | 13 | 17K | 3 | 5.6 | 20.1 | MIT | 3 years ago | |
| netmex/response | 0.86 | netmex/response is a Laravel package for building HTTP responses with less boilerplate. It provides helpers for JSON replies, status codes, headers, and consistent response formatting, helping controllers stay clean and APIs return predictable output. | 0 | 0 | 0 | 0 | 0 | 10.9 | — | — | 5 months ago | |
| symfony/psr-http-message-bridge | 0.85 | Symfony PSR-7 Bridge integrates PSR-7 HTTP messages with Symfony's HttpFoundation, letting you convert requests and responses between the two in either direction. Useful for middleware and libraries built on PSR-7. | 1,293 | 1,299 | 56 | 16M | 0 | 38.6 | 65.0 | MIT | 2 days ago | |
| mahmoud-almalah/laravel-api-helpers | 0.85 | A lightweight Laravel package with practical helpers for building cleaner APIs. Reduce boilerplate, standardize common response and controller patterns, and keep your backend code consistent, readable, and easier to maintain across projects. | 1 | 1 | 0 | 340 | 0 | 0.3 | 30.8 | MIT | 1 year ago | |
| http-interop/http-middleware | 0.85 | Interfaces for reusable PSR-7/PSR-15-style HTTP middleware components, enabling interoperability across frameworks and libraries. Define, compose, and share middleware pipelines with minimal coupling between request handlers and implementations. | 71 | 76 | 7 | 10K | 0 | 0.3 | 20.9 | MIT | — | |
| middlewares/request-handler | 0.85 | PSR-15/PSR-7 request handler middleware for PHP. Build a flexible pipeline that routes an incoming ServerRequest to your handler stack, with clean delegation and composable middlewares—ideal for frameworks or custom apps needing standard request processing. | 43 | 46 | 5 | 71K | 0 | 4.9 | 44.3 | MIT | 1 year ago | |
| sm-sandy/api-response | 0.85 | — | 4 | 4 | 0 | 2 | 0 | 0.0 | 2.0 | MIT | — | |
| guzzlehttp/psr7 | 0.85 | PSR-7 HTTP message implementation for PHP: request, response, URI, uploaded file, and stream objects compatible with Guzzle and any PSR-7 library. Create or inspect messages without sending requests; includes factories and helpers. | 7,929 | 7,994 | 28 | 31M | 3 | 60.7 | 58.7 | MIT | 2 weeks ago | |
| pdeans/http | 0.85 | Lightweight PSR-7 cURL HTTP client with PSR-17 factory support, built on Laminas Diactoros. Configure via curl options and use helper methods for GET/POST/PUT/PATCH/DELETE/HEAD/TRACE with headers and optional body streams/resources. | 14 | 14 | 2 | 109 | 0 | 2.5 | 12.7 | NOASSERTION | 1 year ago | |
| psx/http | 0.85 | PSX HTTP is a lightweight PHP HTTP component for handling requests and responses, including PSR-7-style message abstractions and utilities for building HTTP-aware applications. It fits the PSX framework ecosystem and can be used standalone for routing-adjacent request/response work. | 3 | 3 | 2 | 5K | 0 | 0.1 | 42.6 | Apache-2.0 | — | |
| gisostallenberg/response-content-negotiation-bundle | 0.84 | — | 0 | 0 | 4 | 73 | 0 | 13.8 | 27.4 | — | 7 months ago | |
| nilportugues/json-api | 0.84 | A PHP package for building JSON API (jsonapi.org) compliant responses, with Laravel support. It transforms Eloquent models and collections into standardized resources, handling includes, pagination, links, meta and error objects so your API follows the spec without manual serialization. | 69 | 71 | 34 | 407 | 11 | 4.6 | 15.1 | MIT | 8 years ago | |
| stackmasteraliza/laravel-api-response | 0.84 | — | 30 | 30 | 6 | 0 | 0 | 8.1 | — | MIT | 9 months ago | |
| psr/http-message | 0.84 | PSR-7 HTTP message interfaces for PHP (Request/Response, Streams, URIs, UploadedFiles). Defines common contracts only—no concrete implementation. Ideal for framework-agnostic middleware and libraries needing interoperable HTTP message types. | 7,026 | 7,116 | 185 | 22M | 0 | 37.7 | 56.3 | MIT | 3 years ago | |
| yiisoft/error-handler | 0.84 | Yii error handler for PHP applications that converts errors and exceptions into PSR-7 responses. It supports debug and production modes, HTML and JSON output, logging, and PSR-15 middleware for consistent error handling. | 22 | 22 | 18 | 25K | 9 | 7.6 | 48.0 | BSD-3-Clause | 9 months ago | |
| sajadsdi/laravel-rest-response | 0.84 | — | 4 | 4 | 0 | 0 | 0 | 1.5 | — | MIT | 2 years ago | |
| yiisoft/hydrator | 0.84 | Yii Hydrator populates typed objects from arrays and other input using attributes and property mapping. It handles type casting, nested hydration, and dependency injection, offering PHP and Laravel apps a fast, flexible alternative to manual DTO construction. | 34 | 34 | 6 | 24K | 12 | 6.6 | 44.1 | BSD-3-Clause | 10 months ago | |
| dragon-code/laravel-json-response | 0.84 | A Laravel package for building consistent JSON API responses. It provides fluent helpers for success, error, and custom payloads, helping standardize response structure and reduce boilerplate across controllers and APIs. | 12 | 12 | 1 | 424 | 0 | 3.9 | 16.3 | MIT | 7 months ago |
How can I help you explore Laravel packages today?