gender

Gender Extension


Gender PHP extension is a port of the gender.c program originally written by Joerg Michael. The main purpose is to find out the gender of firstnames. The name dictionary contains >40000 firstnames from 54 countries.

License: BSD 2-clause

Latest releases

Version Release Download
1.1.0 2015-02-03 gender-1.1.0.tgz
1.0.0 2013-06-02 gender-1.0.0.tgz
0.9.0 2013-04-04 gender-0.9.0.tgz
0.8.0 2012-08-26 gender-0.8.0.tgz
0.7.0 2009-07-04 gender-0.7.0.tgz
Show all releases

Changelog

Version Message
1.1.0 * PHP7 compatibility
1.0.0 * fixed clone breakage of other objects
* fixed thread unsafety in country data handling
* fixed bugĀ #64740 Gender ignores country for some names
0.9.0 * implemented Gender::similarNames()
* implemented Gender::isNick()
0.8.0 * made name dict to be compiled in
* added Gender::country() for getting string representation of countries
* fixed multiple object usage
* PHP 5.3 and 5.4 compatibility
0.7.0 * ported new api version with partial unicode support
* updated dictionary file (need to run the postinstall script)
* several community bugfixes (many thanks rrichards, johannes, kalle)
* Gender class is now in the Gender namespace on PHP v5.3+
Show complete changelog