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

Get the IP in a quick way

Maintainers

Details

github.com/filipac/ip

Source

Issues

Installs: 74 449

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/filipac/ip

1.0 2014-08-31 12:49 UTC

This package is auto-updated.

Last update: 2025-09-25 09:07:54 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"
    }