Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinZip

Fetch and parse Finnish streetnames, zip codes and municipalities provided by Posti.fi. Also includes geocoder for geotagging addresses.

Installation

The recommended way to install FinZip is through Composer.

{
	"require": {
		"tangervu/finzip": "dev-master",
		"php-google-maps/php-google-maps": "dev-master"
	}
}

Examples

<?php
require 'vendor/autoload.php';
$finzip = new FinZip();

//Load list of localities
$localities = $finzip->getLocalities();
while($row = $localities->fetch()) {
	print_r($row);
}

//Load all Finnish street addresses and their zip codes
$streetnames = $finzip->getStreetnames();
while($row = $streetnames->fetch()) {
	print_r($row);
}

License

LGPL-3.0

About

Fetch and parse Finnish addresses provided by Posti.fi

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages