filipac / ip
Get the IP in a quick way
Installs: 64 280
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 1
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-10-25 07:01:32 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" }