yamilovs/sypex-geo
A new generation of Sypex Geo library
Maintainers
1.0.2
2025-01-19 02:50 UTC
Requires
- php: >=7.2
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^8.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT db7b327c78a17f00d5e89234a21d7515f4386a81
- zapimir <zapimir.woop@zapimir.net>
- BINOVATOR <info.woop@sypex.net>
- Yamilov Stepan <yamilovs.woop@gmail.com>
This package is auto-updated.
Last update: 2026-06-19 07:16:38 UTC
README
A new generation of Sypex Geo library
Installation
You can install it through Composer:
$ composer require yamilovs/sypex-geo
Basic Usage
<?php use Yamilovs\SypexGeo\Database\Mode; use Yamilovs\SypexGeo\SypexGeo; include('./vendor/autoload.php'); $sypexGeo = new SypexGeo(__DIR__.'/SxGeoCity.dat', Mode::FILE); $city = $sypexGeo->getCity('5.189.19.230'); var_dump($city);
