awcodes/postal-codes

This is a package to easily install and use postal codes in your Laravel application from GeoNames.org
4,975 5
Install
composer require awcodes/postal-codes
Latest Version:v1.0.2
PHP:^8.3
License:MIT
Last Updated:Oct 2, 2026
Links: GitHub  ·  Packagist
Maintainer: awcodes

Postal Codes

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.

Related Packages

awcodes/filament-curator

A media picker and manager for Filament, with Glide-backed image transformations...

459,022 443
awcodes/filament-badgeable-column

Display additional context as badges alongside a Filament table column or infoli...

723,405 148
awcodes/filament-quick-create

Add a dropdown to a Filament panel's header for creating records from anywhere i...

270,429 252
awcodes/filament-versions

Display Laravel, Filament and PHP versions in a Filament panel's navigation and...

81,992 44
awcodes/filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.

995,934 267

Version History

Version Released PHP Laravel License
v1.0.2 ^8.3 MIT
v1.0.1 ^8.3 MIT
v1.0.0 ^8.3 MIT
v0.2.0 ^8.2 MIT
v0.1.2 ^8.1 MIT