PHPackages                             depx/phalcon-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. depx/phalcon-sypexgeo

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

depx/phalcon-sypexgeo
=====================

Sypex Geo for Phalcon

1.0.1(6y ago)013PHPPHP &gt;=5.6.0

Since May 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/DepX/phalcon-sypexgeo)[ Packagist](https://packagist.org/packages/depx/phalcon-sypexgeo)[ RSS](/packages/depx-phalcon-sypexgeo/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Sypex Geo for Phalcon
=====================

[](#sypex-geo-for-phalcon)

Configuration

```
return new \Phalcon\Config([
    //...
    'geo' => [
        'debug' => true,
        'path' => './geo-files',
        'types' => 1 | 2 // SXGEO_MEMORY | SXGEO_BATCH
    ],
    //...
]);
```

Download files

```
$geoClass = new \Geo\Geo();
$geoClass->downloadFiles(); // all
$geoClass->downloadFiles('city'); // city
$geoClass->downloadFiles(['city']); // city
$geoClass->downloadFiles('https://sypexgeo.net/files/SxGeoCity_utf8.zip'); // city
$geoClass->downloadFiles(['https://sypexgeo.net/files/SxGeoCity_utf8.zip', 'country']); // city and country
```

Download one file

```
$geoClass = new \Geo\Geo();
$geoClass->downloadFile('https://sypexgeo.net/files/SxGeoCity_utf8.zip');
```

Get city base

```
$geoClass = new \Geo\Geo();
$cityData = $geoClass->getCity();

$ip = $this->request->getClientAddress();
var_dump($cityData->getCityFull($ip));
```

Get country base

```
$geoClass = new \Geo\Geo();
$countryData = $geoClass->getCountry();

$ip = $this->request->getClientAddress();
var_dump($countryData->getCountry($ip));
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~14 days

Total

2

Last Release

2536d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f2e17af0af5183ce35e9c081c98e9dcdad64ee2cb6c5172202a8785d082b0f3?d=identicon)[DepX](/maintainers/DepX)

---

Top Contributors

[![DepX](https://avatars.githubusercontent.com/u/7341408?v=4)](https://github.com/DepX "DepX (5 commits)")

### Embed Badge

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

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

###  Alternatives

[froala/wysiwyg-editor

A beautiful jQuery WYSIWYG HTML rich text editor. High performance and modern design make it easy to use for developers and loved by users.

5.4k306.9k3](/packages/froala-wysiwyg-editor)[rewieer/taskschedulerbundle

Task Scheduler with CRON for Symfony

63242.1k](/packages/rewieer-taskschedulerbundle)[ghoster/module-outofstockatlast

Magento 2.4.x module Sort Out Of Stock Product At last the product list

60122.6k](/packages/ghoster-module-outofstockatlast)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[flowpack/listable

Tiny extension for listing things

35209.0k7](/packages/flowpack-listable)[snowdog/module-alpaca-components

Components of the Alpaca theme for Magento 2

4582.2k2](/packages/snowdog-module-alpaca-components)

PHPackages © 2026

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