slvler/whoami
最新稳定版本:v1.1.2
Composer 安装命令:
composer require slvler/whoami
包简介
ip-api.com API wrapper for Laravel
README 文档
README
This package provides a convenient wrapper to the Ip API for Laravel applications.
Requirements
- PHP 8.0+
- Laravel 10.x | 9.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("127.0.0.1")->result();
send a request to filter some details in the ip information
Whoami::get("127.0.0.1")->filter(['status','message','country','zip','query'])->result();
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-30