Package Data | |
---|---|
Maintainer Username: | agenciafmd |
Maintainer Contact: | irineu@mixd.com.br (Irineu Martins Junior) |
Package Create Date: | 2016-02-11 |
Package Last Update: | 2018-03-25 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:02:09 |
Package Statistics | |
---|---|
Total Downloads: | 1,383 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 23 |
Total Watchers: | 7 |
Total Forks: | 4 |
Total Open Issues: | 1 |
Pacote de Estados / Cidades / Bairros brasileiros para o Laravel
Adicione no seu composer.json
"require": {
"mixdinternet/cities": "0.1.*"
}
ou
composer require mixdinternet/cities
Abra o arquivo config/app.php
e adicione
Mixdinternet\Cities\Providers\CitiesServiceProvider::class
$ php artisan vendor:publish --provider="Mixdinternet\Cities\Providers\CitiesServiceProvider"
$ composer dump-autoload
$ php artisan migrate
$ php artisan db:seed --class="StateTableSeeder"
$ php artisan db:seed --class="CityTableSeeder"
$ php artisan db:seed --class="NeighborhoodTableSeeder"