2017 © Pedro Peláez
 

library swissplace

Deliver zip for cantons, regions and districts

image

hegland/swissplace

Deliver zip for cantons, regions and districts

  • Tuesday, June 13, 2017
  • by rogerhegland
  • Repository
  • 1 Watchers
  • 0 Stars
  • 196 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

swissplaces

Deliver zip for cantons, regions and districts, (*1)

Cantons

Get postalcodes of all cantons

  • Canton::getPostalcodes()

Get postalcodes of desired canton(s)

  • Canton::getPostalcodes('TG,SG,AG')

or, (*2)

  • Canton::getPostalcodes(array('TG', 'SG', 'AG'))

Districts

Get postalcodes of all districts

  • District::getPostalcodes()

Get postalcodes of all districts from the given canton

  • District::getPostalcodes('TG')

or, (*3)

  • District::getPostalcodes([ 'TG' ])

or, (*4)

  • District::getPostalcodes([ 'TG' => [ ] ])

Get postalcodes of all districts from the given cantons

  • District::getPostalcodes('TG;LU')

or, (*5)

  • District::getPostalcodes([ 'TG', 'LU' ])

or, (*6)

  • District::getPostalcodes([ 'TG' => [ ], 'LU' => [ ] ])

Get postalcodes of the given district

  • District::getPostalcodes('TG:Arbon')

or, (*7)

  • District::getPostalcodes([ 'TG' => [ 'Arbon' ] ])

Get postalcodes of the given districts

  • District::getPostalcodes('TG:Arbon,Kreuzlingen')

or, (*8)

  • District::getPostalcodes([ 'TG' => [ 'Arbon' ], 'AG' => [ 'Aarau', 'Brugg' ] ])

Regions

// coming soon, (*9)

The Versions

13/06 2017

dev-master

9999999-dev https://github.com/rogerhegland/swissplaces

Deliver zip for cantons, regions and districts

  Sources   Download

Apache License 2.0

The Requires

  • php >=7.0

 

The Development Requires

by Roger Hegland

switzerland swissplaces

13/06 2017

1.0.1

1.0.1.0 https://github.com/rogerhegland/swissplaces

Deliver zip for cantons, regions and districts

  Sources   Download

Apache License 2.0

The Requires

  • php >=7.0

 

The Development Requires

by Roger Hegland

switzerland swissplaces

01/09 2016

1.0.0

1.0.0.0 https://github.com/rogerhegland/swissplaces

Deliver zip for cantons, regions and districts

  Sources   Download

Apache License 2.0

The Requires

  • php >=7.0

 

The Development Requires

by Roger Hegland

switzerland swissplaces