berlioz/http-message

Berlioz HTTP Message is a PHP library whose implements PSR-7 (HTTP message interfaces) and PSR-17 (HTTP Factories) standards.

v2.0.0 2021-09-08 20:57 UTC

This package is auto-updated.

Last update: 2021-09-08 20:58:17 UTC


README

Latest Version Software license Build Status Quality Grade Total Downloads

Berlioz HTTP Message is a PHP library whose implements PSR-7 (HTTP message interfaces) and PSR-17 (HTTP Factories) standards.

Installation

Composer

You can install Berlioz HTTP Message with Composer, it's the recommended installation.

$ composer require berlioz/http-message

Dependencies

  • PHP ^7.1 || ^8.0
  • PHP libraries:
    • fileinfo
    • json
  • Packages:
    • psr/http-message
    • psr/http-factory

Usage

Global

Looks at PSR documentations:

Factory

Only one factory class implements the PSR-17: \Berlioz\Http\Message\HttpFactory