Package Data | |
---|---|
Maintainer Username: | adrianodrix |
Maintainer Contact: | suporte@empari.com.br (Team Empari) |
Package Create Date: | 2017-07-24 |
Package Last Update: | 2019-06-24 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 15:04:33 |
Package Statistics | |
---|---|
Total Downloads: | 17 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Countries, States and Cities helper for Laravel (only Brazil)
Execute the following command to get the latest version of the package:
composer require empari/geo
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"