Search by

awcodes / postal-codes

awcodes

Install a queryable table of postal codes in a Laravel application, seeded from GeoNames country data.

Package info

github.com/awcodes/postal-codes

pkg:composer/awcodes/postal-codes

Statistics

Installs: 4 973

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 0

v1.0.2 2026-09-09 17:58 UTC

README

Install a queryable table of postal codes in a Laravel application, seeded from GeoNames country data.

Latest Version on Packagist Total Downloads

Documentation

The full documentation lives at docs.aw.codes/postal-codes.

Requirements

  • PHP 8.3 or higher
  • Laravel 12 or higher
  • The zip PHP extension

Installation

composer require awcodes/postal-codes

The table is empty until you seed a country's data with php artisan postal-codes:seed. See Usage for that step.

Changelog

Please see the releases for 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.