Remi's RPM repository - Packages

Blog | Forum | Repository

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

Website:
https://github.com/fruux/sabre-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.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
php-sabre-http-4.2.1-2.remi.src [52 KiB] Changelog by Remi Collet (2016-10-29):
- switch from symfony/class-loader to fedora/autoloader
php-sabre-http-4.2.1-1.remi.src [52 KiB] Changelog by Remi Collet (2016-03-11):
- update to 4.2.1
- add dependency on sabre/uri
- run test suite with both PHP 5 and 7 when available
php-sabre-http-3.0.5-1.remi.src [49 KiB] Changelog by Remi Collet (2015-07-20):
- update to 3.0.5
- add autoloader