thelhc/ip-info
IpInfo
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.
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
665,354,487
9,703
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
458,029,405
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
424,642,029
4,662
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.2.2 | ~5.6| | 5.1.* || | ||
| v1.2.1 | ~5.6| | 5.1.* || | ||
| v1.2.0 | ~5.6| | 5.1.* || | ||
| v1.1.0 | ~5.6| | 5.1.* || | ||
| v1.0.3 | >=5.5.9 | ^4.0| | ||
| v1.0.2 | >=5.5.9 | ^4.0| | ||
| v1.0.1 | >=5.5.9 | ^4.0| | ||
| v1.0.0 | >=5.5.9 | ^4.0| |