PHPackages                             bordeux/geoname-bundle - 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. [Database &amp; ORM](/categories/database)
4. /
5. bordeux/geoname-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

bordeux/geoname-bundle
======================

Symfony GeoNameBundle

v3.1.0(2y ago)1710.5k↓16.7%15[2 PRs](https://github.com/bordeux/geoname-bundle/pulls)MITPHPPHP &gt;=8.0

Since Jan 15Pushed 2y ago3 watchersCompare

[ Source](https://github.com/bordeux/geoname-bundle)[ Packagist](https://packagist.org/packages/bordeux/geoname-bundle)[ Docs](https://github.com/bordeux/geoname-bundle)[ RSS](/packages/bordeux-geoname-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (15)Used By (0)

Geonames Bundle
===============

[](#geonames-bundle)

[![Build Status](https://github.com/bordeux/geoname-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/bordeux/geoname-bundle/actions/workflows/ci.yml/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/002a4bff7e585aee8cdb9ee69db566fd57cc1957deb9ea519cc47cd0f32a0bdf/68747470733a2f2f706f7365722e707567782e6f72672f626f72646575782f67656f6e616d652d62756e646c652f76657273696f6e)](https://packagist.org/packages/bordeux/geoname-bundle)

Introduction
============

[](#introduction)

Provides access to the data exported by [GeoNames.org](https://geonames.org) into [Symfony 5, 6](https://symfony.com)applications. Starting version 3.0 this library supporting only PostgreSQL database.

What is [geonames.org](https://geonames.org)
--------------------------------------------

[](#what-is-geonamesorg)

From the geonames.org website:

> The GeoNames geographical database covers all countries and contains over eight million place names that are available for download free of charge.

When to use this bundle
-----------------------

[](#when-to-use-this-bundle)

Most useful application for this bundle is to normalize the geograhical information stored in your database such as Countries, States and Cities. Thanks to the extensive [geonames.org](https://geonames.org) data almost all cities, towns and suburbs are covered worldwide.

Features
--------

[](#features)

- Imports the following geonames.org data:

    - Countries
    - Timezones
    - States &amp; Provinces
    - Cities, Towns, Suburbs, Villages etc.
- Provides the following data store implementations:

    - Doctrine ORM

Installation
============

[](#installation)

1. Install the bundle using composer:

    ```
    composer require bordeux/geoname-bundle
    ```
2. Add the bundle to your `AppKernel.php`

    ```
    // AppKernel::registerBundles()
    $bundles = array(
        // ...
            new Bordeux\Bundle\GeoNameBundle\BordeuxGeoNameBundle(),
        // ...
    );
    ```

Install or update database schema
---------------------------------

[](#install-or-update-database-schema)

Execute the migrations using the supplied migration configuration

```
    php bin/console doctrine:schema:update --force
```

Import the data
---------------

[](#import-the-data)

**Note** that importing the data from the remote geonames.org repository involves downloading almost 350 MB data from [geonames.org](https://geonames.org).

The following commands can be used in sequence to load all supported data from the [geonames.org](https://geonames.org) export ()

### Import data

[](#import-data)

Loads a list of all data from [geonames.org](https://geonames.org)

```
    php bin/console bordeux:geoname:import  --env=prod
```

### How to run tests?

[](#how-to-run-tests)

Just run: `docker-compose -f docker-compose.tests.yml up`

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 96.4% 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 ~224 days

Recently: every ~297 days

Total

12

Last Release

938d ago

Major Versions

v1.5 → v2.02020-03-28

v2.1.1 → v3.0.02022-05-16

PHP version history (2 changes)v1.0PHP &gt;=5.5.9

v3.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b71904b7ce5d842043b2512107b9c3718248112475fe436f2c58bbfe041a1227?d=identicon)[bordeux](/maintainers/bordeux)

---

Top Contributors

[![bordeux](https://avatars.githubusercontent.com/u/784536?v=4)](https://github.com/bordeux "bordeux (80 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (2 commits)")[![treeindark](https://avatars.githubusercontent.com/u/405997?v=4)](https://github.com/treeindark "treeindark (1 commits)")

---

Tags

citiescountriesdatabasegeonamesgeonames-bundlegeonamegeonameid

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bordeux-geoname-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bordeux-geoname-bundle/health.svg)](https://phpackages.com/packages/bordeux-geoname-bundle)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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