Seed and use mledoze/countries in Laravel.
Require this package, with Composer, in the root directory of your project.
$ composer require faustbrian/laravel-countries
To get started, you'll need to publish the vendor assets and migrate the countries table:
php artisan vendor:publish --provider="BrianFaust\Countries\CountriesServiceProvider" && php artisan migrate
Now you can seed the countries into the database like this.
php artisan seed:countries
If you discover a security vulnerability within this package, please send an e-mail to firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.