/php-sypexgeo-reactphp-service

Web server for defining geo by IP address based on SypexGeo and ReactPHP

Primary LanguagePHPMIT LicenseMIT

ddrv/sypexgeo-reactphp-server

Webserver for defining geo by IP address based on SypexGeo and reactPHP

Install

cd /path/to
composer create-project ddrv/sypexgeo-reactphp-server project

Run

php /path/to/project 0.0.0.0:8080

The first time you start the database, it will be loaded automatically. Database updates are requested automatically every hour.

For more stable operation, it is recommended to configure automatic server restart, for example, using the systemctl service