Torann/
laravel-geoip
g4t.io

Use Laravel GeoIP to Determine Users’ Geographical Location

by Paul Redmond

I recently needed a geographical check of users to determine default locales and currencies of users. The torann/geoip package by Daniel Stainback fit the bill…

README from Torann/laravel-geoip Open on GitHub →

GeoIP for Laravel

Latest Stable Version Total Downloads Patreon donate button Donate to this project using Paypal

Determine the geographical location and currency of website visitors based on their IP addresses.

v3.0.8 Possible Breaking Change

Out of the box the system no longer comes with a service pre-configured. Which will cause an error for those who did NOT previously publish the configurtion file. Follow the getting started guide on how to publish the config and how to set up a service.

Sorry for this inconvenience, but MaxMind made me remove the free service that was the default. If the config file was published prior to this change, you should not been affected.

Official Documentation

Documentation for the package can be found on Lyften.com.

Contributions

Many people have contributed to project since its inception.

Thanks to:

More from the ecosystem

marcreichel/
laya-php
g4t.io
3 53

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Classify text in PHP without an LLM bill: typed decisions in 100+ languages, self-hosted. Laravel-ready SDK for Laya, a Jev AI alternative.

ai classification decision-engine
marcreichel/laya-php via Laravel News
Josh-Dovey/
postcodes-laravel
g4t.io
5 9

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Postcodes for Laravel adds typed GB postcode lookups, validation, geography data, distance searches, and test fakes through the GB Postcodes API.

Josh-Dovey/postcodes-laravel via Laravel News
RedberryProducts/
mailbox-for-laravel
g4t.io
4 115

Mailbox for Laravel: Preview and Test Rendered Email

Mailbox for Laravel captures outgoing mail in a local dashboard and lets you test rendered HTML, recipients, and attachments with fluent assertions.

RedberryProducts/mailbox-for-laravel via Laravel News