Download the PHP package chroma-x/iso3166-country-information without Composer
On this page you can find all versions of the php package chroma-x/iso3166-country-information. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chroma-x/iso3166-country-information
More information about chroma-x/iso3166-country-information
Files in chroma-x/iso3166-country-information
Download chroma-x/iso3166-country-information
More information about chroma-x/iso3166-country-information
Files in chroma-x/iso3166-country-information
Vendor chroma-x
Package iso3166-country-information
Short Description ISO3166 util class for validating and listing country codes and getting detailed information for identified countries.
License MIT
Homepage http://chroma-x.de/
Package iso3166-country-information
Short Description ISO3166 util class for validating and listing country codes and getting detailed information for identified countries.
License MIT
Homepage http://chroma-x.de/
Keywords Iso3166country code
Please rate this library. Is it a good library?
Informations about the package iso3166-country-information
PHP ISO3166 Country Information
ISO3166 util class for validating and listing country codes and getting detailed information for identified countries.
Installation
`
Usage
Autoloading and namesapce
`
Getting information about all countries existing in ISO3166
Get all countries as array of hashmaps containing the country information
`
Result
`
Get all countries as array of Iso3166Country objects
`
Result
`
Get all countries as a string containing HTML option tags.
`
Result
`
Getting information about a single country identified by one of the ISO3166 properties
Get info for the ISO3166Alpha2 country code 'de' (Germany)
`
Get info for the ISO3166Alpha3 country code 'deu' (Germany)
`
Get info for the ISO3166Numeric country code '276' (Germany)
`
Get info for the ISO3166-2 country code 'de' (Germany)
`
Get info for the ISO3166 top level domain 'de' (Germany)
`
Get info for the ISO3166 united nations identifier 'de' (Germany)
`
Result
`
Validate whether a ISO3166 property is valid (existing)
Whether the ISO3166Alpha2 country code 'de' exists
`
Whether the ISO3166Alpha3 country code 'deu' exists
`
Whether the ISO3166Numeric country code '276' exists
`
Whether the ISO3166-2 country code 'de' exists
`
Whether the ISO3166 top level domain 'de' exists
`
Whether the ISO3166 united nations identifier 'de' exists
`
All validation methods return a boolean value.
Methods of the Iso3166Country class
Creation of an object by country code
`
Creation of a custom country information object
`
Getter for properties
`
Contribution
Contributing to our projects is always very appreciated.
But: please follow the contribution guidelines written down in the CONTRIBUTING.md document.
License
PHP ISO3166 Country Information is under the MIT license.
All versions of iso3166-country-information with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
The package chroma-x/iso3166-country-information contains the following files
Loading the files please wait ....