martinlindhe/php-myip

External IP providers

Installs: 8 506

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/martinlindhe/php-myip

0.2.1 2015-05-20 13:02 UTC

This package is auto-updated.

Last update: 2025-09-23 05:19:17 UTC


README

Small php library to query current external IP

Installation

In composer.json

{
    "require": {
        "martinlindhe/php-myip": "~0.2"
    }
}

Usage

$ip = MartinLindhe\MyIp\IpProvider\IpProvider::factory()
    ->getIPv4();