Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

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

Website:
https://github.com/sabre-io/http
Licence:
BSD
Vendor:
Remi Collet
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/HTTP/autoload.php

Packages

php-sabre-http-4.2.4-7.remi.src [53 KiB] Changelog by Remi Collet (2019-10-11):
- improve patch for PHP 7.4
php-sabre-http-4.2.4-6.remi.src [53 KiB] Changelog by Remi Collet (2019-10-10):
- add patch for PHP 7.4
php-sabre-http-4.2.4-4.remi.src [52 KiB] Changelog by Remi Collet (2019-07-05):
- fix autoloader
php-sabre-http-4.2.4-1.remi.src [53 KiB] Changelog by Remi Collet (2018-06-05):
- update to 4.2.4
- use range dependencies on F27+
php-sabre-http-4.2.3-1.remi.src [52 KiB] Changelog by Remi Collet (2017-06-12):
- Update to 4.2.3
php-sabre-http-4.2.2-1.remi.src [52 KiB] Changelog by Remi Collet (2017-01-04):
- update to 4.2.2