Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel States Col Laravel Package

anvargear/laravel-states-col

View on GitHub
Deep Wiki
Context7

Laravel Departaments And Cities (Colombia)

Total Downloads Latest Stable Version Latest Unstable Version

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

Installation

Add anvargear/laravel-states-col to composer.json.

"anvargear/laravel-states-col": "dev-master"

Run composer update to pull down the latest version of Departaments and Cities Colombia List.

If you're using Laravel 5.5, you don't have to edit app/config/app.php.

Edit app/config/app.php and add the provider and filter

'providers' => [
    'AnvaGear\States\StatesServiceProvider',
]

Now add the alias.

'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

$ php artisan vendor:publish

Next generate the migration file:

$ php artisan countries:migration
$ composer dump-autoload    
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony