zsoltjanes / laravel-hungarian-zip-codes
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.3|^8.0
This package is auto-updated.
Last update: 2025-03-06 23:39:25 UTC
README
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.
Installation
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
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.