A simple class which provides information about the client making an HTTP request.
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.
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.
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.