slvler/whoami 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

slvler/whoami

最新稳定版本:v1.1.2

Composer 安装命令:

composer require slvler/whoami

包简介

ip-api.com API wrapper for Laravel

README 文档

README

tests Latest Stable Version Latest Unstable Version License Total Downloads

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

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-30