PHPackages                             andvab/geonames-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. andvab/geonames-bundle

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

andvab/geonames-bundle
======================

Geonames bundle. Create tables and populate them with data from the service Geonames.org

1.0.0(9y ago)040[1 issues](https://github.com/andvab/GeonamesBundle/issues)MITPHP

Since Jan 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/andvab/GeonamesBundle)[ Packagist](https://packagist.org/packages/andvab/geonames-bundle)[ Docs](https://github.com/andvab/GeonamesBundle)[ RSS](/packages/andvab-geonames-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Geonames bundle
===============

[](#geonames-bundle)

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

[](#installation)

**Install the bundle using composer:**

```
composer require andvab/geonames-bundle

```

or add to composer.json

```
{
    require: {
        "andvab/geonames-bundle": "*"
    }
}

```

**Add the bundle to your AppKernel.php:**

```
$bundles = array(
    // ...
    new Andvab\GeonamesBundle\AndvabGeonamesBundle(),
    // ...
);

```

**Install or update database schema:**

```
console doctrine:schema:update --force

```

**Add prameter**

path/to/project/app/config/parameters.yml

```
parameters:
    ...
    andvab_geonames.feature_classes: [A,H,L,P,T,U,V]

```

The default value for this variable set: \[A,H,L,P,T,U,V\]. Learn more about the values of feature classes can be about to read the link -

Commands:
---------

[](#commands)

**1) Clear the table "alternate\_names".**

```
php app/console andvab_geonames:clear:alternatenames [ru uk ...]

```

In the params you can specify the list of languages for which it will delete, if not specified, the table will be cleared completely(faster). The list of languages can be viewed at the link -  in the "Language" column

**2) Complete cleaning of the table "geonames"**

```
php app/console andvab_geonames:clear:locations

```

**3) Update the data in the table "admin1\_codes"** (Names for administrative division)

```
php app/console andvab_geoname:update:admin1

```

**4) Update the data in the table "admin2\_codes"** (Names for administrative subdivision)

```
php app/console andvab_geoname:update:admin2

```

**5) Update the data in the table "alternate\_names".**

```
php app/console andvab_geoname:update:alternatenames [ru uk ...]

```

In the parameters you can specify the list of languages for which the update occurs if parameter is not specified, the table will be updated fully(longer). The list of languages can be viewed at the link -  in the "Language" column

**6) Update the data in the table "countries".**

```
php app/console andvab_geonames:update:countries

```

**7) Update the data in the table "geonames".**

```
php app/console andvab_geonames:update:locations [ru ua ...]

```

In parameters, you can specify a list of countries for which the update occurs if parameter is not specified, the list will be taken from the table of countries and each country will be updated. The list of countries can be viewed at the link -  in the "iso" column

More information on the use of the tables and fields description tables can be viewed at the link -

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 71.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

Unknown

Total

1

Last Release

3415d ago

### Community

Maintainers

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

---

Top Contributors

[![andvabGmail](https://avatars.githubusercontent.com/u/188055062?v=4)](https://github.com/andvabGmail "andvabGmail (5 commits)")[![andvab](https://avatars.githubusercontent.com/u/11954114?v=4)](https://github.com/andvab "andvab (2 commits)")

---

Tags

Symfony2geonames

### Embed Badge

![Health badge](/badges/andvab-geonames-bundle/health.svg)

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

###  Alternatives

[data-dog/audit-bundle

Audit bundle for symfony2 and doctrine orm, logs any database change

141901.7k1](/packages/data-dog-audit-bundle)[h4cc/alice-fixtures-bundle

Symfony2 Bundle for loading fixture data with the Alice library.

76314.2k7](/packages/h4cc-alice-fixtures-bundle)[webonaute/doctrine-fixtures-generator-bundle

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.

67184.1k](/packages/webonaute-doctrine-fixtures-generator-bundle)[aternus/geonames-client

GeoNames API Client

39215.5k2](/packages/aternus-geonames-client)[lexik/monolog-browser-bundle

This Symfony2 bundle provides a Doctrine DBAL handler for Monolog and a web UI to display log entries

6257.8k](/packages/lexik-monolog-browser-bundle)[damianociarla/dynamic-discriminator-map-bundle

DCSDynamicDiscriminatorMapBundle simplifies the use of Doctrine Single Table Inheritance mapping strategy in Symfony2.

1237.7k](/packages/damianociarla-dynamic-discriminator-map-bundle)

PHPackages © 2026

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