kodkraft/countries

A laravel package to List of all countries

v1.0.0 2021-09-26 19:44 UTC

This package is auto-updated.

Last update: 2024-03-27 01:10:12 UTC


README

This package takes country names and codes from the source file and writes them to the database.

Install

composer require kodkraft/countries

Configuration

php artisan vendor:publish --tag=kodkraft-config

After running this command, you can change the url from the "countries.php" config file so that the package uses a different source.

Create table

php artisan migrate

Update/Create Country List

php artisan countries:update