How to Get Location from IP in Laravel

hamidreza2005

Hamidreza Hassani

Posted on September 21, 2020

How to Get Location from IP in Laravel

Hi Guys
some weeks age i had been working on my Project and i had to get location from client's ip . so I searched in github and Packagist for a package that can get location from IP but there is no one . so I decided to develop a package with name laravel-ip.
this Package can get location by 3 Drivers:

and also You can Block some clients by ip,country and whatever you want and you can choose what ips can access to your site (I added this Feature for Pepole who deploy their Project on host and don't wanna someone see their website).

as I am lazy 😅😅 and i become tired to write all my README.md here Please see my github repository .

This is my first Package and i will be happy if you downlaod it and tell me it's Bugs if you found one

https://github.com/hamidreza2005/laravel-ip

💖 💪 🙅 🚩
hamidreza2005
Hamidreza Hassani

Posted on September 21, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

How to Get Location from IP in Laravel
laravel How to Get Location from IP in Laravel

September 21, 2020