rkeet / zf-doctrine-country

ZF3 & Doctrine 2 Module - Country module for Country, Currency, Coordinates, Language & Timezone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Country Module - ZF3 & Doctrine 2

Contains base entities for usage with countries. Entities included are:

  • Country (ISO 3166-1)
    • Alpha2 codes (ISO 3166-1 alpha-2)
    • Alpha3 codes (ISO 3166-1 alpha-3)
    • Numeric codes (ISO 3166-1 numeric)
    • Country names (ISO 3166-1 (English))
  • Currency (ISO 4217 (XML, XLS))
    • Code (ISO 4217 alpha-3)
    • Numeric codes (ISO 4217 numeric)
    • Amount of decimals
    • Name (ISO 4217 full name (English))
  • Coordinates - Provided by Google Maps service (in URL's)
    • Latitude
    • Longitude
  • Languages
    • (Can't remember where I got these, sorry. Some ISO standard though)
  • Timezones
    • Generated on the fly when loading Fixtures - Provided by your locally installed PHP installation

Also contains useful items for using throughout modules/applications

  • Forms, Fieldsets & InputFilters for:
    • Country
    • Coordinates
    • Currency
    • Language
    • Timezone

TODO List

  • Add Continent entity
    • Use Continent as option groups for Country selectors
    • Allow Continent entities to be en-/disabled. With that, en-/disable related Country entities (batch update)
    • If a Country of a disabled Continent gets enabled, the Continent must also get enabled, but not enable all Country entities

Contributing

Not quite yet sure how to set this up. But if you feel like contributing, throw an issue at the repository.

About

ZF3 & Doctrine 2 Module - Country module for Country, Currency, Coordinates, Language & Timezone

License:MIT License


Languages

Language:PHP 100.0%