PHPackages                             manzadey/sypexgeo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. manzadey/sypexgeo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

manzadey/sypexgeo
=================

Supports GeoIP services

v0.1(4y ago)124BSD-2-ClausePHPPHP ^7.1.3|^8.0

Since Oct 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Manzadey/sypexgeo)[ Packagist](https://packagist.org/packages/manzadey/sypexgeo)[ RSS](/packages/manzadey-sypexgeo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Package for sypexgeo.net
========================

[](#package-for-sypexgeonet)

---

This package is intended for obtaining information about the IP address using the service database

Installation
------------

[](#installation)

```
composer require "manzadey/sypexgeo"
```

How used
--------

[](#how-used)

Create an instance of the class and specify the path to the file and operation mode flags as arguments (optional):

```
use Manzadey\SypexGeo\SxGeo;

$sxGeo = new SxGeo('sxGeo.dat');
```

Defining the country:

```
$country = $sxGeo->getCountry($ip); // returns a two-digit ISO country code
$sxGeo->getCountryId($ip);          // returns the country number
```

Defining the city:

```
$sxGeo->getCity($ip);                 // returns brief information, without the name of the region, country and time zone
$sxGeo->getCityFull($ip);             // returns full information about the city, region and country
$city = $sxGeo->get($ip);             // executes getCountry or getCity depending on the type of database
$cityName = $sxGeo->getCityName($ip); // returns the name of the city
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1657d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34869211?v=4)[Andrey Manzadey](/maintainers/Manzadey)[@Manzadey](https://github.com/Manzadey)

---

Top Contributors

[![Manzadey](https://avatars.githubusercontent.com/u/34869211?v=4)](https://github.com/Manzadey "Manzadey (1 commits)")

---

Tags

geoipgeolocationlocationsypex

### Embed Badge

![Health badge](/badges/manzadey-sypexgeo/health.svg)

```
[![Health](https://phpackages.com/badges/manzadey-sypexgeo/health.svg)](https://phpackages.com/packages/manzadey-sypexgeo)
```

###  Alternatives

[torann/geoip

Support for multiple Geographical Location services.

2.2k14.2M76](/packages/torann-geoip)[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[ipip/db

IPIP.net officially supported IP database ipdb format parsing library

139204.2k6](/packages/ipip-db)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[tabgeo/country

geoip (only countries) php library (http://tabgeo.com)

1158.8k](/packages/tabgeo-country)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
