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

Get the IP in a quick way

Maintainers

Details

github.com/4picht/ip

Source

1.1.3 2016-07-08 11:45 UTC

This package is not auto-updated.

Last update: 2024-09-28 19:52:38 UTC


README

Get the current user IP in a quick way:

This is practivally https://gitlab.4com.de/filipac/ip, but with added php-docs.

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

Install using composer. Package name is 4picht/ip.

Add this to composer.json

"require": {
    "4picht/ip": "~1.0"
}