faustbrian/laravel-countries

This package is abandoned and no longer maintained. The author suggests using the artisanry/countries package instead.

Seed and use mledoze/countries in Laravel.

5.1.0 2019-06-04 07:17 UTC

README

Build Status PHP from Packagist Latest Version License

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require artisanry/countries

To get started, you'll need to publish the vendor assets and migrate the countries table:

php artisan vendor:publish --provider="Artisanry\Countries\CountriesServiceProvider" && php artisan migrate

Now you can seed the countries into the database like this.

php artisan seed:countries

Testing

$ phpunit

Security

If you discover a security vulnerability within this package, please send an e-mail to hello@basecode.sh. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

Mozilla Public License Version 2.0 (MPL-2.0).