Download the PHP package lindelius/php-checkip without Composer
On this page you can find all versions of the php package lindelius/php-checkip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lindelius/php-checkip
More information about lindelius/php-checkip
Files in lindelius/php-checkip
Package php-checkip
Short Description A minimal, PSR based library for checking the public IP of the host machine.
License Apache-2.0
Homepage https://github.com/lindelius/php-checkip
Informations about the package php-checkip
php-checkip
A minimal, PSR based library for checking the public IP of the host machine.
Installation
If you are using Composer, you may install the latest version of this library by running the following command from your project's root folder:
You may also manually download the library by navigating to the "Releases" page and then expanding the "Assets" section of the latest release.
Usage
The included implementation(s) of Guzzle library, which also happens to be used in the code snippet below:
Logging
You may optionally include a PSR compatible logger when instantiating an IP checker in order to get access to internal debug information. Please note, though, that this information will only be available if the logger has been configured to include debug
messages.
All versions of php-checkip with dependencies
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/log Version ^1.0