ddrv / sypexgeo-reactphp-server
Webserver for defining geo by IP address based on SypexGeo and reactPHP
Fund package maintenance!
www.paypal.me/ddrv
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.1
- ext-json: *
- ext-zlib: *
- react/filesystem: ^0.1.2
- react/http: ^1.1
README
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