dieseljobs / ip-info by thelhc

IpInfo Laravel Service Provider
31,483
0
4
Package Data
Maintainer Username: thelhc
Maintainer Contact: aaronmichaelmusic@gmail.com (Aaron Kaczmarek)
Package Create Date: 2016-12-13
Package Last Update: 2023-04-19
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 03:12:53
Package Statistics
Total Downloads: 31,483
Monthly Downloads: 5
Daily Downloads: 0
Total Stars: 0
Total Watchers: 4
Total Forks: 0
Total Open Issues: 3

IpInfo

Latest Version on Packagist Software License Total Downloads

Install

Via Composer

$ composer require thelhc/ip-info

After installing, add the ServiceProvider to the providers array in config/app.php.

TheLHC\IpInfo\IpInfoServiceProvider::class

Then add the Facade to the aliases array

'IpInfo'  => TheLHC\IpInfo\Facades\IpInfo::class,

Usage

use IpInfo;

$ip = IpInfo::lookup('###.###.###.###');

License

The MIT License (MIT). Please see License File for more information.