formatd/geoip

Last activity 28 Feb 2023 598
composer require formatd/geoip

Neos integration for maxmind geoip2 client

v1.2.0

Version
v1.2.0
Type
neos-package
Release Date
Feb 17, 2022 08:48
Source
git
Distribution
zip
Requires
  • neos/neos: ^7.0
  • geoip2/geoip2: ~2.12.0
MIT a758aed6ae0d7c522ec7fc231a28a61af6998fad

Readme excerpt

FormatD.GeoIP

A Neos CMS Integration for the geolocation service geoip2 api client of Maxmind (maxmind.com).

What does it do?

This package provides a service-class and eel-helper to access the geo-information of a user (by analyzing the IP address with the maxmind api). Optionally you can integrate a prompt to redirect the user to the content dimension matching his current location.

Using the service in you own plugins

Inject the IPLocalizationService into your class and call the method according to the maxmind endpoint (getCountry, getCity, getInsights). the corresponding model of the geoip2 library holding all available information is returned.

Using the service in f…
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 14 package(s).