Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddrv/php-sypexgeo-reactphp-service
Web server for defining geo by IP address based on SypexGeo and ReactPHP
https://github.com/ddrv/php-sypexgeo-reactphp-service
Last synced: 3 days ago
JSON representation
Web server for defining geo by IP address based on SypexGeo and ReactPHP
- Host: GitHub
- URL: https://github.com/ddrv/php-sypexgeo-reactphp-service
- Owner: ddrv
- License: mit
- Created: 2020-11-28T12:01:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-28T12:28:35.000Z (almost 4 years ago)
- Last Synced: 2023-08-21T09:20:36.177Z (about 1 year ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ddrv/sypexgeo-reactphp-server
> Webserver for defining geo by IP address based on [SypexGeo](https://sypexgeo.net) and [reactPHP](https://reactphp.org/)
# Install
```text
cd /path/to
composer create-project ddrv/sypexgeo-reactphp-server project
```# Run
```text
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