Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.73 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.73 KB

Laravel Hungarian Zip Codes with Settlement names

Latest Stable Version Total Downloads Latest Unstable Version License

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.