oriceon / ip
Get the public IP in a quick way
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/oriceon/ip
Requires
- php: ^7.1|^8.0|^8.1|^8.2|^8.3|^8.4
This package is auto-updated.
Last update: 2025-09-24 18:11:07 UTC
README
Get the current user IP in a quick way:
use Oriceon\Ip; <?php $ip = Ip::get(); echo "Hello, your ip is {$ip}"; ?>
Install using composer. Package name is oriceon/ip
.
Add this to composer.json
"require": { "oriceon/ip": "~1.0" }