Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-sabre-http5 - Library for dealing with http requests and responses

Website:
https://github.com/sabre-io/http
Licence:
BSD-3-Clause
Vendor:
Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
Description:
This library provides a toolkit to make working with the HTTP protocol easier.

Most PHP scripts run within a HTTP request but accessing information about
the HTTP request is cumbersome at least, mainly do to superglobals and the
CGI standard.

There's bad practices, inconsistencies and confusion.
This library is effectively a wrapper around the following PHP constructs:

For Input:
    $_GET
    $_POST
    $_SERVER
    php://input or $HTTP_RAW_POST_DATA.

For output:
    php://output or echo.
    header()

What this library provides, is a Request object, and a Response object.
The objects are extendable and easily mockable.

Autoloader: /usr/share/php/Sabre/HTTP5/autoload.php

Packages

php-sabre-http5-5.1.10-1.el9.remi.noarch [39 KiB] Changelog by Remi Collet (2023-08-24):
- update to 5.1.10
php-sabre-http5-5.1.7-1.el9.remi.noarch [39 KiB] Changelog by Remi Collet (2023-06-26):
- update to 5.1.7