filipac / ip
There is no license information available for the latest version (1.0) of this package.
Get the IP in a quick way
1.0
2014-08-31 12:49 UTC
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2026-02-25 10:03:07 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" }