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-04-25 06:04:42 UTC


README

Get the current user IP in a quick way:

use Filipac\Ip;
<?php
$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"
    }