2017 © Pedro PelĂĄez
 

laravel-library laravel-states-col

Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital.

image

anvargear/laravel-states-col

Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital.

  • Thursday, May 17, 2018
  • by anvargear
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

Laravel Departaments And Cities (Colombia)

Total Downloads Latest Stable Version Latest Unstable Version, (*1)

Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital, (*2)

Installation

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',
]

Model

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    

The Versions

17/05 2018

dev-master

9999999-dev

Laravel Departaments and Cities Colombia is a bundle for Laravel, providing Almost ISO 3166_3, Dane Code and Capital.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

laravel states colombia departamentos ciudades