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

Http Laravel Package

psx/http

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Dependency governance / build-vs-buy for the HTTP abstraction layer. This is a reference input for the recurring decision "do we define our own HTTP message + middleware + client interfaces, or adopt an existing set?" It is an argument against building bespoke interfaces (it shows a small vendor already tried), but also an argument against adopting this one.
  • Interop and portability roadmap. If a roadmap goal is "swap HTTP clients or middleware stacks without rewriting handlers," this package represents the thinnest possible shape of that goal: interfaces only, no implementation. Useful as a design reference for what a unified surface (message + middleware + client in one namespace) looks like, even if you don't depend on it.
  • Vendor and ecosystem risk review. 3 stars, 0 dependents, single-vendor (apioo/PSX) origin. That combination is a "no" signal for any tier-1 or customer-facing service, and a "fine" signal only inside an existing PSX deployment. This is a due-diligence artifact, not a feature enabler.
  • Use-case fit check. Legitimate fits are narrow: internal PSX-based services, or a team that explicitly wants one dependency to type-hint across message/middleware/client boundaries rather than three (PSR-7 + PSR-15 + PSR-18). Almost every product team is better served by the PSR family, which has orders of magnitude more implementations, hiring familiarity, and framework support.
  • Not a decision driver for: Laravel product work. Laravel ships its own HTTP client, its own middleware pipeline, and Symfony's HttpFoundation underneath. Adopting a parallel interface set here adds a translation layer with no product payoff.

When to Consider This Package

Consider it if:

  • You are already running the PSX / apioo stack and this package is effectively part of that framework's glue — in which case adoption is a consequence of a prior decision, not a new one.
  • You need a single, implementation-free interface set that spans request/response, middleware, and client, and you are willing to accept a very small ecosystem in exchange for one dependency instead of three.
  • You want a lightweight reference model for defining your own internal HTTP contracts — read it, don't depend on it.

Look elsewhere if:

  • You are on Laravel or Symfony. Use the framework's native HTTP client, middleware, and request/response objects; adding this creates mapping code with no upside.
  • You need community support, security responsiveness, or a hiring pool. Three stars and zero dependents means no Stack Overflow corpus, no third-party tutorials, and a single point of failure for maintenance.
  • You need actual implementations, not interfaces. This package gives you contracts; the value and the risk live in whatever implements them.
  • You need long-term guarantees. Apache-2.0 gives you a fork escape hatch, but a fork means you now own an HTTP abstraction — a cost usually larger than the problem it solves.
  • Standards compliance is a procurement or audit requirement. PSR-7/15/18 are the recognized baseline; a parallel interface set invites "why isn't this standard?" in review.

Adoption criteria checklist before any dependency add: named maintainer with a track record, release cadence in the last 12 months, at least a handful of independent dependents, and a documented migration path off it. This package fails most of those.

How to Pitch It (Stakeholders)

For executives (30 seconds): This is a small, single-vendor package that defines HTTP interfaces rather than shipping functionality. It has negligible adoption and no downstream dependents, so it carries vendor-concentration risk without a corresponding product benefit. Recommendation: do not add it to our stack outside of an existing PSX deployment. If portability of our HTTP layer is a real goal, the industry-standard PSR interfaces deliver the same benefit with a large, supported ecosystem.

For engineering leads: It's a thin, well-scoped interface set covering HTTP messages, middleware, and clients in one namespace — conceptually reasonable, and a useful read if we're designing our own contracts. But it duplicates ground already covered by PSR-7, PSR-15, and PSR-18, and it has essentially no user base to inherit bug fixes or answers from. In a Laravel codebase it would sit on top of, and translate to and from, HttpFoundation and the built-in client — pure overhead. If we want swappable HTTP boundaries, we should declare our own narrow interfaces and adapt PSR-compliant implementations behind them; that keeps the exit door open and doesn't tie us to a three-star dependency.

Cost, risk, and exit: Low integration cost (interfaces only), low license risk (Apache-2.0, forkable), high maintenance-ownership risk if we rely on it and it stalls. The correct PM posture is to log this as evaluated-and-declined, cite PSR as the chosen standard, and revisit only if we standardize on PSX.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource