4picht / ip
Get the IP in a quick way
Installs: 6 170
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/4picht/ip
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-26 02:04:21 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" }