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 |
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,
use IpInfo;
$ip = IpInfo::lookup('###.###.###.###');
The MIT License (MIT). Please see License File for more information.