dev-master
9999999-devLaravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital.
MIT
The Requires
- php >=5.3.0
The Development Requires
laravel states colombia departamentos ciudades
Wallogit.com
2017 © Pedro PelĂĄez
Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital.
Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital, (*2)
Add anvargear/laravel-states-col to composer.json., (*3)
"anvargear/laravel-states-col": "dev-master"
Run composer update to pull down the latest version of Departaments and Cities Colombia List., (*4)
If you're using Laravel 5.5, you don't have to edit app/config/app.php., (*5)
Edit app/config/app.php and add the provider and filter, (*6)
'providers' => [
'AnvaGear\States\StatesServiceProvider',
]
Now add the alias., (*7)
'aliases' => [
'StatesCol' => 'AnvaGear\States\StatesFacade',
]
You can start by publishing the configuration. This is an optional step, it contains the table name and does not need to be altered. If the default name Colstates suits you, leave it. Otherwise run the following command, (*8)
$ php artisan vendor:publish
Next generate the migration file:, (*9)
$ php artisan countries:migration $ composer dump-autoload
Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital.
MIT
laravel states colombia departamentos ciudades