kodkraft / countries
A laravel package to List of all countries
v1.0.0
2021-09-26 19:44 UTC
Requires
- ext-json: *
This package is auto-updated.
Last update: 2025-02-27 03:12:01 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