{"id":21614217,"url":"https://github.com/bordeux/geoname-bundle","last_synced_at":"2025-04-11T06:51:37.917Z","repository":{"id":15921290,"uuid":"78987258","full_name":"bordeux/geoname-bundle","owner":"bordeux","description":"Geoname bundle for Symfony 3/4","archived":false,"fork":false,"pushed_at":"2024-02-07T10:47:27.000Z","size":85,"stargazers_count":15,"open_issues_count":4,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-25T02:26:06.609Z","etag":null,"topics":["cities","countries","database","geonames","geonames-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bordeux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-15T02:20:03.000Z","updated_at":"2022-05-16T17:17:17.000Z","dependencies_parsed_at":"2024-11-24T22:07:16.409Z","dependency_job_id":"c159b7f7-285a-472d-b371-aea6343adbe1","html_url":"https://github.com/bordeux/geoname-bundle","commit_stats":{"total_commits":83,"total_committers":3,"mean_commits":"27.666666666666668","dds":0.06024096385542166,"last_synced_commit":"f457a87f3a352ea078271d546fe24a9cd3681bd1"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordeux%2Fgeoname-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordeux%2Fgeoname-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordeux%2Fgeoname-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordeux%2Fgeoname-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bordeux","download_url":"https://codeload.github.com/bordeux/geoname-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358548,"owners_count":21090401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cities","countries","database","geonames","geonames-bundle"],"created_at":"2024-11-24T22:07:13.055Z","updated_at":"2025-04-11T06:51:37.888Z","avatar_url":"https://github.com/bordeux.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Geonames Bundle\n===============\n![Build Status](https://github.com/bordeux/geoname-bundle/actions/workflows/ci.yml/badge.svg)\n[![Latest Stable Version](https://poser.pugx.org/bordeux/geoname-bundle/version)](https://packagist.org/packages/bordeux/geoname-bundle)\n\n# Introduction\n\nProvides access to the data exported by [GeoNames.org][1] into  [Symfony 5, 6][2]\napplications. Starting version 3.0 this library supporting only PostgreSQL database.\n\n\n## What is [geonames.org][1]\n\nFrom the geonames.org website:\n\n\u003e The GeoNames geographical database covers all countries and contains over\n\u003e eight million place names that are available for download free of charge.\n\n\n## When to use this bundle\n\nMost useful application for this bundle is to normalize the geograhical\ninformation stored in your database such as Countries, States and Cities. Thanks\nto the extensive [geonames.org][1] data almost all cities, towns and suburbs are\ncovered worldwide.\n\n## Features\n\n- Imports the following geonames.org data:\n\n    * Countries\n    * Timezones\n    * States \u0026 Provinces\n    * Cities, Towns, Suburbs, Villages etc.\n\n- Provides the following data store implementations:\n\n    * Doctrine ORM\n\n# Installation\n\n1. Install the bundle using composer:\n\n    ```sh\n    composer require bordeux/geoname-bundle\n    ```\n\n\n2. Add the bundle to your `AppKernel.php`\n\n    ```php\n    // AppKernel::registerBundles()\n    $bundles = array(\n        // ...\n            new Bordeux\\Bundle\\GeoNameBundle\\BordeuxGeoNameBundle(),\n        // ...\n    );\n\n## Install or update database schema\n\n\nExecute the migrations using the supplied migration configuration\n\n```sh\n    php bin/console doctrine:schema:update --force\n```\n\n\n## Import the data\n\n**Note** that importing the data from the remote geonames.org repository involves downloading\nalmost 350 MB data from [geonames.org][1].\n\nThe following commands can be used in sequence to load all supported data from\nthe [geonames.org][1] export (https://download.geonames.org/export/dump)\n\n### Import data\n\nLoads a list of all data from [geonames.org][1]\n\n```sh\n    php bin/console bordeux:geoname:import  --env=prod\n```\n\n### How to run tests?\n\nJust run: ``docker-compose -f docker-compose.tests.yml up``\n\n [1]: https://geonames.org\n [2]: https://symfony.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbordeux%2Fgeoname-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbordeux%2Fgeoname-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbordeux%2Fgeoname-bundle/lists"}