ubitcorp / laravel-cities
It provides continents, countries, cities (with div1 and div2) and districts.
Installs: 71
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 1
Open Issues: 0
Language:TSQL
Requires
- php: ~7.1
- illuminate/support: 5.5.x|5.6.x|5.7.x|5.8.x|6.x
- ubitcorp/laravel-filter: ^1.0
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