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.11k stars 372 forks source link

Added Laravel 11 Supports #239

Open akr4m opened 8 months ago

akr4m commented 8 months ago

Laravel 11 is recently released. This PR adds support for Laravel 11.

image
alies-dev commented 8 months ago

for anyone looking for a maintained alternative, there is a fork that supports L11, fully compatible with this package and has some features on the top: https://github.com/InteractionDesignFoundation/laravel-geoip

a super simple upgrade guide: https://github.com/InteractionDesignFoundation/laravel-geoip/blob/main/docs/migration.md

paceband commented 8 months ago

Works perfectly! Thanks for the quick update. Simon

Le jeudi 14 mars 2024 à 15 h 51 min 09 s HAE, Alies Lapatsin ***@***.***> a écrit :  

for anyone looking for a maintained alternative, there is a fork that supports L11, fully compatible with this package and has some features on the top: https://github.com/InteractionDesignFoundation/laravel-geoip

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

adnane-ka commented 4 months ago

Is there any conflicting code or it's just okey to go with composer.json dependencies update?

alies-dev commented 4 months ago

@adnane-ka

Is there any conflicting code or it's just okey to go with composer.json dependencies update?

If you are talking about https://github.com/InteractionDesignFoundation/laravel-geoip, then - it's a fork without breaking changes. Just update package name in composer.json:

-"torann/geoip": "^3.0",
+"interaction-design-foundation/laravel-geoip": "^3.0",

The only breaking change is a new namespace:

-Torann\GeoIP
+InteractionDesignFoundation\GeoIP

Plus there are some new features and about 10 fixes, you can read more here: https://github.com/InteractionDesignFoundation/laravel-geoip/releases

It's documented in the upgrade guide: https://github.com/InteractionDesignFoundation/laravel-geoip/blob/main/docs/migration.md