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

Installs: 6 170

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

pkg:composer/4picht/ip

1.1.3 2016-07-08 11:45 UTC

This package is not auto-updated.

Last update: 2025-10-26 02:04:21 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"
}