ubitcorp / laravel-cities

Country, Region and City models (and data) for Laravel projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Country, Region and City models (and data) for Laravel projects


Languages

Language:TSQL 99.8%Language:PHP 0.2%