Download the PHP package brawcks/geoname-bundle without Composer
On this page you can find all versions of the php package brawcks/geoname-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brawcks/geoname-bundle
More information about brawcks/geoname-bundle
Files in brawcks/geoname-bundle
Package geoname-bundle
Short Description Symfony GeoNameBundle
License MIT
Homepage https://github.com/bordeux/geoname-bundle
Informations about the package geoname-bundle
Geonames Bundle
CREDITS [IMPORTANT]
All the work was originaly done by Krzysztof Bednarczyk [email protected]. This package is a fork to get a fast fix on error happening on symfony 5.
Introduction
Provides access to the data exported by [GeoNames.org][1] into [Symfony 2][2] and [Symfony 3][2] applications.
What is [geonames.org][1]
From the geonames.org website:
The GeoNames geographical database covers all countries and contains over eight million placenames that are available for download free of charge.
When to use this bundle
Most useful application for this bundle is to normalize the geograhical information stored in your database such as Countries, States and Cities. Thanks to the extensive [geonames.org][1] data almost all cities, towns and suburbs are covered worldwide.
Features
-
Imports the following geonames.org data:
- Countries
- Timezones
- States & Provences
- Cities, Towns, Suburbs, Villages etc.
-
Provides the following data store implementations:
- Doctrine ORM
Installation
-
Install the bundle using composer:
-
Add the bundle to your
AppKernel.php
sh php bin/console doctrine:schema:update --force sh php bin/console bordeux:geoname:import --env=prod
Usage: bordeux:geoname:import [options]
Options: -a, --archive[=ARCHIVE] Archive to GeoNames [default: "http://download.geonames.org/export/dump/allCount ries.zip"] -t, --timezones[=TIMEZONES] Timezones file [default: "http://download.geonames.org/export/dump/timeZones.txt "] -o, --download-dir[=DOWNLOAD-DIR] Download dir -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question -e, --env=ENV The environment name [default: "dev"] --no-debug Switches off debug mode -a1, --admin1-codes[=ADMIN1-CODES] Admin 1 Codes file [default: "http://download.geonames.org/export/dump/admin1Cod esASCII.txt"] -a2, --admin2-codes[=ADMIN2-CODES] Admin 2 Codes file [default: "http://download.geonames.org/export/dump/admin2Cod es.txt"] -lc, --languages-codes[=LANGUAGES-CODES] Admin 2 Codes file [default: "http://download.geonames.org/export/dump/iso-langu agecodes.txt"] -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose outp ut and 3 for debug
Help: Import GeoNames
[1]: http://geonames.org
[2]: http://symfony.com
All versions of geoname-bundle with dependencies
symfony/framework-bundle Version ~2.7|~3.0|~4.0|^5
symfony/console Version ~2.7|~3.0|~4.0|^5
symfony/dependency-injection Version ~2.7|~3.0|~4.0|^5
doctrine/doctrine-bundle Version >=1.6
guzzlehttp/guzzle Version ~6.0
guzzlehttp/promises Version >=1.0