PHPackages                             edns-andrew/geozone-importer - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. edns-andrew/geozone-importer

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

edns-andrew/geozone-importer
============================

PHP 8.3 GeoNames downloader, parser, and top-down geozone importer.

00PHP

Since Jun 19Pushed todayCompare

[ Source](https://github.com/EDNSAndrew/geozone-importer)[ Packagist](https://packagist.org/packages/edns-andrew/geozone-importer)[ RSS](/packages/edns-andrew-geozone-importer/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

edns-andrew/geozone-importer
============================

[](#edns-andrewgeozone-importer)

PHP 8.3 Composer package for downloading GeoNames dump files, parsing them with memory-safe generators, and producing a top-down geozone stream that can populate a database table from world/continent level down to locality/city level.

The package is intentionally DB-agnostic. It does not require Laminas, Doctrine, Laravel, or a specific persistence layer. Applications receive normalized `GeozoneRecord` objects and decide how to insert or update them.

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

[](#installation)

```
composer require edns-andrew/geozone-importer
```

Quick start
-----------

[](#quick-start)

```
