Downloadslvler - Ip-api Service
This package provides a convenient wrapper to the Ip API for Laravel applications.
Requirements
Installation
To install this package tou can use composer:
composer require slvler/whoami
Usage
Import the facade in your class.
use Whoami;
send a request to get ip information details
Whoami::get("46.2.138.34")->result();
send a request to filter some details in the ip information
Whoami::get("46.2.138.34")->filter(['status','message','country','zip','query'])->result();
Credits
|