Skip to content

PSR 7 http-message version requirement #3296

@rotexdegba

Description

@rotexdegba

I noticed that version 1.1 of psr/http-message is what has been required in the composer.json (

"psr/http-message": "^1.1",
) for Slim 4.

Is it possible to have "^1.1 || ^2.0" as the requirement instead?

Version 2.0 ( php-fig/http-message@1.1...2.0 ) of psr/http-message has explicit return type typing which is better. Both versions 1.1 & 2.0 of psr/http-message require PHP 7.2 or 8.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions