Download the PHP package yurtesen/geonames without Composer

On this page you can find all versions of the php package yurtesen/geonames. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package geonames

Laravel / Lumen / Eloquent Geonames

Latest Stable Version Latest Unstable Version Monthly Downloads Total Downloads Package for Laravel License

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.


All versions of geonames with dependencies

PHP Build Version
Package Version
Requires ext-zip Version *
illuminate/config Version ^5.2.0|^6.0|^7.0|^8.0
illuminate/console Version ^5.2.0|^6.0|^7.0|^8.0
illuminate/database Version ^5.2.0|^6.0|^7.0|^8.0
illuminate/filesystem Version ^5.2.0|^6.0|^7.0|^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yurtesen/geonames contains the following files

Loading the files please wait ....