joonas1234 / zippilainen
Zips and areas of finland
dev-master
2019-03-30 15:23 UTC
This package is auto-updated.
Last update: 2025-01-29 05:56:23 UTC
README
Installation
Register Zippilainen as an alias for easier use in config/app.php
'Zippilainen' => joonas1234\Zippilainen\Zippilainen::class
Usage
Get zips in specified area
Zippilainen::zipsInArea($area)
Get array of zips as keys and area as value
Zippilainen::zipsAsKeys()
Get areas with zips, optionally areas can be returned lowercase
Zippilainen::areasAndZips($bool)
Get only areas, optionally lowercase
Zippilainen::areas($bool)
Get area by zip
Zippilainen::areaByZip($zip)
License
This composer package is open-sourced software licensed under the MIT license