Install a queryable table of postal codes in a Laravel application, seeded from GeoNames country data.
The full documentation lives at docs.aw.codes/postal-codes.
- PHP 8.3 or higher
- Laravel 12 or higher
- The
zipPHP extension
composer require awcodes/postal-codesThe table is empty until you seed a country's data with php artisan postal-codes:seed. See Usage for that step.
Please see the releases for what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.