PHP Classes
elePHPant
Icontem

PHP Country State List: Get the list of countries and states of the world

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-02-18 (4 years ago) RSS 2.0 feedStarStarStar 44%Total: 964 All time: 3,690 This week: 302Up
Version License PHP version Categories
country-state 1.0.0GNU General Publi...3.0PHP 5, Geography
Description Author

This class can get the list of countries and states of the world.

It contains the names and codes of all countries of the world and the respective list of country states.

The class can return the list of all countries, all states, the states of a given country, get the country by ISO 2 or 3 letter code, find a state by name, and check if a given name is a valid country or state.

Innovation Award
PHP Programming Innovation award nominee
February 2015
Number 4
Many applications require that the users specify a country and a state of their location.

This class can retrieve lists of countries and states, as well check if a certain state is valid for a given country.

Manuel Lemos
  Performance   Level  
Name: Ore Richard Muyiwa <contact>
Classes: 6 packages by
Country: Nigeria Nigeria
Age: 26
All time rank: 13934 in Nigeria Nigeria
Week rank: 189 Up3 in Nigeria Nigeria Up
Innovation award
Innovation award
Nominee: 3x

 

  Files folder image Files  
File Role Description
Plain text file CountryState.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:964
This week:0
All time:3,690
This week:302Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:2798