Looking to hire Laravel developers? Try LaraJobs

laravel-cities maintained by ubitcorp

Description
It provides continents, countries, cities (with div1 and div2) and districts.
Author
Last update
2020/01/10 15:43 (dev-master)
License
Downloads
74

Comments
comments powered by Disqus

laravel-cities

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