4picht / ip
There is no license information available for the latest version (1.1.3) of this package.
Get the IP in a quick way
1.1.3
2016-07-08 11:45 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-01-18 21:41:36 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" }