title: What should I use to format an postal address in the format of the address country
body: <p>I need to format postal addresses into the format of the country and am looking for some PHP library that can do that. I work with zend framework 2 which uses Locale but unfortunately that does not seem to be able to handle this at this time.</p>
  
  <pre><code>examples
  
  NL    RECIPIENT
        STREET_NAME HOUSE_NUMBER
        POSTAL_CODE LOCALITY
        COUNTRY
  
  US    RECIPIENT
        HOUSE_NUMBER STREET_NAME [STREET_TYPE] [STREET_DIRECTION] [BUILDING] [FLOOR] [APARTMENT]
        LOCALITY PROVINCE_ABBREVIATION POSTAL_CODE
        COUNTRY
  
  UK    RECIPIENT
        [FLOOR] [APARTMENT]
        [BUILDING]
        [HOUSE_NUMBER] STREET_NAME
        [DEPENDENT_LOCALITY]
        LOCALITY
        POSTAL_CODE
  </code></pre>
  
  <p>(source <a href="http://www.addressdoctor.com/en/countries-data/address-formats.html" rel="noreferrer">http://www.addressdoctor.com/en/countries-data/address-formats.html</a>)</p>