Torann / laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.
http://lyften.com/projects/laravel-geoip
BSD 2-Clause "Simplified" License
2.09k stars 372 forks source link

Calling the geoip functions? #126

Closed erkand-imeri closed 5 years ago

erkand-imeri commented 5 years ago

Hi,

I installed this package in Laravel and i wanted to use it for the project in my work. I need the geoip together with the currency attribute.

I was reading the documentation and couldn't find out a brief description how to import geoip Classes/Functions and call them from Controller or Models.

Any info/step regarding this?

Torann commented 5 years ago

You can use the helper geoip.

http://lyften.com/projects/laravel-geoip/doc/methods.html