Skip to content
/ geo Public
forked from empari/geo

Countries, States and Cities helper for Laravel.

Notifications You must be signed in to change notification settings

nagahshi/geo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Empari/Geo

Countries, States and Cities helper for Laravel (only Brazil)

Installation

Composer

Execute the following command to get the latest version of the package:

composer require empari/geo

Laravel

In your config/app.php add Empari\Geo\GeoServiceProvider::class to the end of the providers array:

'providers' => [
    ...
    Empari\Geo\GeoServiceProvider::class,
],

Publish Configuration

php artisan vendor:publish --provider "Empari/Geo/GeoServiceProvider"

Migrate the new tables

php artisan migrate

Seeder Tables

php artisan db:seed --class="Empari\Geo\Database\Seeds\CountryTableSeeder" 
php artisan db:seed --class="Empari\Geo\Database\Seeds\StateTableSeeder"
php artisan db:seed --class="Empari\Geo\Database\Seeds\CityTableSeeder"

About

Countries, States and Cities helper for Laravel.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%