PHPackages                             ujahmycine/geodata - 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. [Database &amp; ORM](/categories/database)
4. /
5. ujahmycine/geodata

ActiveLibrary[Database &amp; ORM](/categories/database)

ujahmycine/geodata
==================

Laravel 6.0 package that provides basic geographical data like Countries, Regions and Cities.

00PHP

Since Oct 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Ujahmycine/geodata)[ Packagist](https://packagist.org/packages/ujahmycine/geodata)[ RSS](/packages/ujahmycine-geodata/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

GeoData
=======

[](#geodata)

GeoData is a Laravel package that provides basic geographical data like Countries, Regions and Cities.

Content
-------

[](#content)

- [Installation](#installation)
    - [Composer](#composer)
    - [Service Provider](#service-provider)
    - [Migrations and Seeders](#migrations-and-seeders)
    - [Traits and Contracts](#traits-and-contracts)
    - [Available Countries](#available-countries)
- [Usage](#usage)
    - [Installing Countries](#installing-countries)
    - [Models](#models)
    - [Controllers](#controllers)
    - [Routes](#routes)
- [License](#license)

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

[](#installation)

### Composer

[](#composer)

Pull this package through Composer (file `composer.json`)

```
{
    "require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.2.*",
        "gerardojbaez/geodata": "0.*"
    }
}
```

Run this command inside your terminal.

```
composer update

```

### Service Provider

[](#service-provider)

Add the package to your application service providers in config/app.php file.

```
