faustbrian/laravel-countries

Seed and use mledoze/countries in Laravel.

4.4.0 2018-11-10 06:31 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 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

Testing

$ phpunit

Security

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

Credits

License

MIT © Brian Faust