Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

freelancehunt/sypexgeo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SypexGeo

This is working copy igi/sypexgeo with PHP 7.4 support.

Sypex Geo - product for location by IP address. Obtaining the IP address, Sypex Geo outputs information about the location of the visitor - country, region, city, geographical coordinates and other in Russian and in English. Sypex Geo use local compact binary database file and works very quickly. For more information visit: http://sypexgeo.net/

Installation

The preferred way to install this extension is through composer.

Add

"freelancehunt/sypexgeo": "^1.0.0"

to the require section of your composer.json file.

Update database on "composer install" command

Put "post-install-cmd" event to composer.json

"scripts": {
    "post-install-cmd": [
        "Freelancehunt\\SypexGeo\\Composer::installDatabases"
    ]
}

Put "extra" settings to composer.json

"extra": {
    "sypexgeo_remote": "https://sypexgeo.net/files/SxGeoCity_utf8.zip",
    "sypexgeo_local": "/path/to/project/SxGeoCity.dat"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%