There is no license information available for the latest version (1.0) of this package.

Get the IP in a quick way

1.0 2014-08-31 12:49 UTC

This package is auto-updated.

Last update: 2024-02-25 05:30:21 UTC


Get the current user IP in a quick way:

use Filipac\Ip;
$ip = Ip::get();
echo "Hello, your ip is {$ip}";

Install using composer. Package name is filipac/ip.

Add this to composer.json

"require": {
        "filipac/ip": "~1.0"