yurtesen/geonames
Larablocks Analysis
yurtesen/geonames works with Laravel 5 to 8 (latest release v0.1.5, Sep 22, 2020), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5 to 8, past end of life since Jan 24, 2023
- No release in the last 12 months (last: Sep 22, 2020)
- 0 downloads a month (needs 10,000)
- 31 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Sep 22, 2020.
- No releases in the last 12 months.
- First released: Mar 16, 2017.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require yurtesen/geonames |
|
| Latest Version: | v0.1.5 |
| Laravel: | 5 – 8 |
| License: | GPL-3.0 |
| Last Updated: | Sep 26, 2023 |
| Links: | GitHub · Packagist |
Laravel / Lumen / Eloquent 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 databases.
Installation
Note: If you are using Lumen. You have to first install irazasyed/larasupport !
Please include the following require in your composer.json :
{
"require": {
"yurtesen/geonames": "dev-master"
}
}
or install using command line :
composer require yurtesen/geonames:dev-master
after installation, you will need to add the service provider in your config\app.php to 'providers' array
Yurtesen\Geonames\GeonamesServiceProvider::class,
or for Lumen add service provider in bootstrap\app.php Remember that irazasyed/larasupport must be registered before.
$app->register(Yurtesen\Geonames\GeonamesServiceProvider::class);
Usage and Configuration
Please see the wiki for further information
Provided Eloquent Models
Please see the Wiki pages for implementation details.
| Name | Key | Relations | Scopes |
|---|---|---|---|
| GeonamesGeoname | geoname_id | alternateName, timeZone,country | admin1,city,countryInfo |
| GeonamesAlternateName | geoname_id | geoname | |
| GeonamesCountryInfo | iso | timezone,continent | |
| GeonamesFeatureCode | code | ||
| GeonamesLanguageCode | iso_639_3 | ||
| GeonamesTimezone | timezone_id | ||
| GeonamesHierarchy | parent_id | ||
| GeonamesAdmin1Code | geoname_id | geoname,hierarchies | |
| GeonamesAdmin2Code | geoname_id | geoname,hierarchies |
Tables
GeoNames file names and corresponding table names created in your database.
| Filename | Tablename |
|---|---|
| timeZones.txt | geonames_timezones |
| allCountries.zip | geonames_geonames |
| countryInfo.txt | geonames_country_infos |
| iso-languagecodes.txt | geonames_language_codes |
| alternateNames.zip | geonames_alternate_names |
| hierarchy.zip | geonames_hierarchies |
| admin1CodesASCII.txt | geonames_admin1_codes |
| admin2Codes.txt | geonames_admin2_codes |
| featureCodes_en.txt | geonames_feature_codes |
If You Need Help
Please check the 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.
Alternatives to yurtesen/geonames
Database Seeds for Countries / Cities / Areas / Languages / Currancy with ready...
Türkiye İl İlçe Semt Muhit Mahalle ve Posta Kodları Laravel Paketi. Adds Turkish...
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| v0.1.5 | ^5.2.0| | GPL-3.0 | |
| v0.1.4 | ^5.2.0| | GPL-3.0 | |
| v0.1.3 | ^5.2.0| | GPL-3.0 | |
| v0.1.2 | ^5.2.0| | GPL-3.0 | |
| v0.1.1 | ^5.2.0 | GPL-3.0 | |
| v0.1 | ^5.2.0 | GPL-3.0 |