Weave 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

Input Http Laravel Package

yiisoft/input-http

Yii HTTP input package for extracting request data from PSR-7 requests, including query parameters, body fields, headers, and uploaded files, with a consistent API for safe access to user input in Yii applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Request-to-DTO hydration strategy: Informs whether to standardize controller/action inputs as typed DTOs hydrated from PSR-7 requests, rather than scattering $request->input() calls.
  • Middleware input handling: Supports decisions about extracting validated request data inside middleware pipelines, especially where Yii Middleware Dispatcher is already in use.
  • Build vs. buy for HTTP input plumbing: Helps evaluate whether to adopt a small ecosystem package versus implementing explicit request parsing/validation in Laravel-native FormRequests, middleware, or action classes.
  • API and integration use cases: Relevant for PSR-7-based services, Yii middleware stacks, and teams already using Yii Hydrator; not a general Laravel request-validation solution.
  • Roadmap prioritization: This is infrastructure, not a product-differentiating feature. Adoption should be justified by reduced boilerplate or interoperability, not by expected customer-facing impact.
  • Risk and maintenance decisions: Low adoption (11 stars), unknown repository metadata, and a 2024 release date mean the PM should treat this as a small, niche dependency requiring ownership and exit planning.

When to Consider This Package

Consider it when:

  • The product is already on Yii 3 / Yii Middleware Dispatcher and uses PSR-7 HTTP requests.
  • The team wants typed request DTOs via Yii Hydrator attributes instead of manual array extraction.
  • Middleware needs a consistent way to access request-derived input without passing raw request objects throughout the application.
  • The codebase values small, BSD-licensed infrastructure packages and can tolerate a young, low-adoption dependency.
  • Engineering can pin the version, review the source, and own upgrades because repository metadata is unavailable.

Look elsewhere when:

  • The product is primarily Laravel. Laravel’s native FormRequest, validation, route model binding, middleware, and request injection already cover most of this use case with better ecosystem support.
  • You need a broadly adopted, well-documented package with strong community signals. Eleven stars and unknown repository metadata are material adoption risks.
  • You require Symfony HttpFoundation, Laravel request objects, or a framework-agnostic validation layer rather than Yii-specific hydrator attributes.
  • You need long-term vendor support, security response guarantees, or a large maintainer base.
  • The team cannot accept coupling to Yii Hydrator and Middleware Dispatcher semantics.

How to Pitch It (Stakeholders)

Executive summary: This is a small Yii ecosystem utility that hydrates typed request data from PSR-7 requests and supports middleware input handling. It is not a strategic Laravel dependency and should not be added to a Laravel roadmap without a specific Yii/PSR-7 interoperability need.

Engineering summary: The package can reduce boilerplate for request DTO hydration and middleware input access in Yii-based services. It is BSD-licensed and narrowly scoped, but adoption is very low, repository metadata is unknown, and it is tightly coupled to Yii Hydrator and Yii Middleware Dispatcher. For Laravel products, prefer native FormRequests and middleware. If adopted, pin the version, add integration tests around request hydration and middleware behavior, and document an exit path to framework-native or in-house request parsing.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons