cxj/http-client-info

Provide information about client making HTTP request.

v1.0.0 2016-03-11 17:47 UTC

This package is auto-updated.

Last update: 2024-04-08 08:27:04 UTC


README

A simple class which provides information about the client making an HTTP request.

Installation

This class requires PHP 5.2 or later, but we recommend using the latest available version of PHP as a matter of principle. It has no dependencies.

It is installable and autoloadable via Composer as cxj/http-client-info from Packagist.

Alternatively, download a releasefrom GitHub, or clone this repository. Then require or include its autoload.php file.

Quality

This class attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.

This package is unit tested using PHPUnit.

Contributing

Pull requests are welcome!

Requests which follow the PSR-1 and PSR-2 coding and style standards, and which have PHPUnit test coverage will get most attention.