Skip to content

[RFC] Symfony component implementing PSR-18 #28628

Closed
@mateuszsip

Description

@mateuszsip

Hi.
Our apps need http client very often, and PSR-18 is on the horizon.

What do you think about Symfony component implementing that standard?
We already have HTTPlug (PSR discussions started there), but I believe that Symfony component can help with standard adoption.

In my opinion (after PSR-18) we will still miss two important interfaces, and Symfony can introduce them as part of symfony/contracts and create a reference implementation with great DX.

First one is about client-side middlewares.
Like PSR-15, meant to prepare client-side requests.
The second one is about http client factory that accepts middlewares.

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions