Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 270 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 270 Bytes

About

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();