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

ActiveLibrary[Database &amp; ORM](/categories/database)

girotecnics/geonames
====================

Geonames importer and models for Eloquent ORM based on yurtesen/geonames

1.1.0(8y ago)05051GPL-3.0PHP

Since Jul 25Pushed 8y ago3 watchersCompare

[ Source](https://github.com/girotecnics/geonames)[ Packagist](https://packagist.org/packages/girotecnics/geonames)[ RSS](/packages/girotecnics-geonames/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (7)Used By (0)

Laravel Geonames
================

[](#laravel-geonames)

[![Latest Stable Version](https://camo.githubusercontent.com/e615060567304dcb7b3163e0ec110afb4715140712b16da9d8e7ac1e199c9ca0/68747470733a2f2f706f7365722e707567782e6f72672f6769726f7465636e6963732f67656f6e616d65732f762f737461626c65)](https://packagist.org/packages/girotecnics/geonames)[![Total Downloads](https://camo.githubusercontent.com/8604750968c9a3649c37e99a274429d12ed2e1ae1c3ae8265573b6201edd141b/68747470733a2f2f706f7365722e707567782e6f72672f6769726f7465636e6963732f67656f6e616d65732f646f776e6c6f616473)](https://packagist.org/packages/girotecnics/geonames)[![Latest Unstable Version](https://camo.githubusercontent.com/c55a4d64939bdb4343bd5c7f50dde1899b21aac92a570574a2fbf14d50106010/68747470733a2f2f706f7365722e707567782e6f72672f6769726f7465636e6963732f67656f6e616d65732f762f756e737461626c65)](https://packagist.org/packages/girotecnics/geonames)[![License](https://camo.githubusercontent.com/fbe9436cf4fbc1bf4833382e6dec2ecdf25a52cc46ba6720db344ed579e30533/68747470733a2f2f706f7365722e707567782e6f72672f6769726f7465636e6963732f67656f6e616d65732f6c6963656e7365)](https://packagist.org/packages/girotecnics/geonames)

This package provides probably the best Eloquent models, most complete SQL schemas and fastest Artisan commands to import/update a local copy of [GeoNames](http://www.geonames.org/) databases.

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

[](#installation)

Please include the following require in your composer.json :

```
{
    "require": {
        "girotecnics/geonames": "~1.1"
    }
}

```

or install using command line :

```
composer require "girotecnics/geonames" "~1.1"

```

after installation, you will need to add the service provider in your config\\app.php to 'providers' array

```
Girotecnics\Geonames\GeonamesServiceProvider::class,

```

and execute installation, download and seed

```
php artisan geonames:install
php artisan migrate
php artisan geonames:seed

```

*Note:* If you are using Lumen. You have to first install [irazasyed/larasupport](https://github.com/irazasyed/larasupport) !

Usage and Configuration
-----------------------

[](#usage-and-configuration)

Please see the [wiki](https://github.com/yurtesen/geonames/wiki) for further information

Provided Eloquent Models
------------------------

[](#provided-eloquent-models)

Please see the *Wiki* pages for implementation details.

NameKeyRelationsScopesGeonamesGeonamegeoname\_idalternateName, timeZone,countryadmin1,city,countryInfoGeonamesAlternateNamegeoname\_idgeonameGeonamesCountryInfoisotimezone,continentGeonamesFeatureCodecodeGeonamesLanguageCodeiso\_639\_3GeonamesTimezonetimezone\_idGeonamesHierarchyparent\_idGeonamesAdmin1Codegeoname\_idgeoname,hierarchiesGeonamesAdmin2Codegeoname\_idgeoname,hierarchiesTables
------

[](#tables)

GeoNames file names and corresponding table names created in your database.

FilenameTablenametimeZones.txtgeonames\_timezonesallCountries.zipgeonames\_geonamescountryInfo.txtgeonames\_country\_infosiso-languagecodes.txtgeonames\_language\_codesalternateNames.zipgeonames\_alternate\_nameshierarchy.zipgeonames\_hierarchiesadmin1CodesASCII.txtgeonames\_admin1\_codesadmin2Codes.txtgeonames\_admin2\_codesfeatureCodes\_en.txtgeonames\_feature\_codesIf You Need Help
----------------

[](#if-you-need-help)

Please check the [wiki](https://github.com/yurtesen/geonames/wiki) for more information about how to utilize the package efficiently and usage examples. If something does not work or if you have a suggestion, please do not hesitate to use the issue tracker.

*Note:* If you are using Lumen. You have to first install [irazasyed/larasupport](https://github.com/irazasyed/larasupport) !

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 89.1% 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 ~0 days

Total

5

Last Release

3262d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23639743?v=4)[Girotecnics](/maintainers/girotecnics)[@girotecnics](https://github.com/girotecnics)

---

Top Contributors

[![yurtesen](https://avatars.githubusercontent.com/u/1926599?v=4)](https://github.com/yurtesen "yurtesen (57 commits)")[![denmasyarikin](https://avatars.githubusercontent.com/u/18554343?v=4)](https://github.com/denmasyarikin "denmasyarikin (4 commits)")[![Marcos-Alterego](https://avatars.githubusercontent.com/u/30429407?v=4)](https://github.com/Marcos-Alterego "Marcos-Alterego (3 commits)")

---

Tags

laraveleloquentlocationcountrycitytimezonegeonames

### Embed Badge

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

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

###  Alternatives

[prettus/l5-repository

Laravel 8|9|10|11|12|13 - Repositories to the database layer

4.2k11.2M154](/packages/prettus-l5-repository)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k5.0M31](/packages/tucker-eric-eloquentfilter)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[yurtesen/geonames

Geonames importer and models for Eloquent ORM

311.7k](/packages/yurtesen-geonames)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)

PHPackages © 2026

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