awcodes/postal-codes

This is a package to easily install and use postal codes in your Laravel application from GeoNames.org

v0.0.3 2024-04-03 15:34 UTC

This package is auto-updated.

Last update: 2024-05-03 15:49:08 UTC


README

Latest Version on Packagist Total Downloads

This is a package to easily install and use postal codes in your Laravel application. All data is provided by GeoNames data dumps. You can see the available countries at https://download.geonames.org/export/zip/.

Installation & Usage

You can install the package via composer:

composer require awcodes/postal-codes

After installing the package, you should run the installation script. This will publish the migrations and offer to run them for you.

php artisan postal-codes:install

Then the only thing left to do is to seed your data. This can be done with the postal-codes:seed command.

php artisan postal-codes:seed {country=US}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.