ubitcorp/laravel-cities

It provides continents, countries, cities (with div1 and div2) and districts.

v2.3 2020-01-08 15:57 UTC

This package is not auto-updated.

Last update: 2024-11-22 15:59:50 UTC


README

It provides continents, countries, cities (with div1 and div2) and districts.

Installation

Via Composer

composer require ubitcorp/laravel-cities

For publishing the configuration file:

php artisan vendor:publish --provider="ubitcorp\Cities\Providers\ServiceProvider" 

Create the continents, countries, cities and districts and other tables:

php artisan migrate

Seed the tables:

php artisan db:seed --class=ubitcorp\\Cities\\Database\\Seeders\\CitiesDatabaseSeeder