filipac / ip
Get the IP in a quick way
Installs: 65 133
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-11-25 07:10:02 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" }