New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

thelhc/ip-info

IpInfo Laravel Service Provider
31,506
Install
composer require thelhc/ip-info
Latest Version:v1.2.2
PHP:~5.6|~7.0|~7.1|~7.2|~7.3
Laravel:5
Older releases:4
Last Updated:Apr 19, 2023
Links: GitHub  ·  Packagist
Maintainer: thelhc

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

665,354,487 9,703
laravel/framework

The Laravel Framework.

625,568,548 34,998
laravel/tinker

Powerful REPL for the Laravel framework.

539,265,140 7,441
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|~7.0|~7.1|~7.2|~7.3 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.*
v1.2.1 ~5.6|~7.0|~7.1|~7.2|~7.3 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*
v1.2.0 ~5.6|~7.0|~7.1|~7.2|~7.3 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*
v1.1.0 ~5.6|~7.0 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*
v1.0.3 >=5.5.9 ^4.0|^5.0