PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Hicri   WhoAmI   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: WhoAmI
Get IP address information using the WhoAmI API
Author: By
Last change:
Date: Yesterday
Size: 1,161 bytes
 

Contents

Class file image Download

slvler - Ip-api Service

Latest Stable Version Latest Unstable Version License

This package provides a convenient wrapper to the Ip API for Laravel applications.

Requirements

  • PHP 8.0+
  • Laravel 10.x

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