With this package you are able to make a new database table and seed the current hungarian zip codes with settlement names and Budapest's districts. The original database file can be found in the official hungarian post office's website.
You can install the package via composer:
composer require zsoltjanes/laravel-hungarian-zip-codes
You have to publish the migration, the seeder and the data file:
php artisan vendor:publish --tag="hungarian-zip-codes-default"
Check the configuration before continue. You can publish the config file with:
php artisan vendor:publish --tag="hungarian-zip-codes-config"
You can run the migration
php artisan migrate
You can run the seeder:
php artisan db:seed --class=HungarianZipCodesSeeder
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.