empari/geo
Countries, States and Cities helper for Laravel.
17
| Install | |
|---|---|
composer require empari/geo |
|
| Latest Version: | 5.8.0 |
| PHP: | ^7.1.3 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Jun 24, 2019 |
| Links: | GitHub · Packagist |
Maintainer: adrianodrix
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"
Related Packages
customd/laravel-addressable
Laravel Addressable is a Laravel package to manage addresses that belong to your...
1,442
1
metamel/laravel-addresses
Metamel Addresses is a polymorphic Laravel package, for address book management....
3,910
4
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 5.8.0 | ^7.1.3 | 5.8.* | MIT | |
| 5.5.3 | ^7.0 | 5.5.* | MIT | |
| 5.5.2 | ^7.0 | 5.5.* | MIT | |
| 5.5.1 | ^7.0 | 5.5.* | MIT | |
| 5.5.0 | ^7.0 | 5.5.* | MIT | |
| 1.0.2 | ^7.0 | 5.4.* | MIT | |
| 1.0.1 | ^7.0 | 5.4.* | MIT | |
| 1.0.0 | ^7.0 | 5.4.* | MIT |