carlonicora / minimalism-service-geolocator
Geolocator service for minimalism
Requires
- php: >=8.1
- carlonicora/minimalism: ~13.0
- geoip2/geoip2: ~2.11
- maxmind-db/reader: ~1.10
Requires (Dev)
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-12-12 19:49:19 UTC
README
minimalism-service-geolocator is a service for minimalism to retrieve physical location from an IP address.
Getting Started
To use this library, you need to have an application using minimalism. This library does not work outside this scope.
Prerequisite
You should have read the minimalism documentation and understand the concepts of Services in the framework.
minimalism-service-geolocator uses data coming from the free version of IP2LOCATION.
Installing
Require this package, with Composer, in the root directory of your project.
$ composer require carlonicora/minimalism-service-geolocator
or simply add the requirement in composer.json
{ "require": { "carlonicora/minimalism-service-geolocator": "~1.0" } }
Deployment
This service does not require any parameter.
Build With
- minimalism - minimal modular PHP MVC framework
- ip2location-php
Versioning
This project use Semantiv Versioning for its tags.
Authors
License
This project is licensed under the MIT license - see the LICENSE.md file for details