PHP-Name-Parser icon indicating copy to clipboard operation
PHP-Name-Parser copied to clipboard

PHP library to split names into their respective components (first, last, etc)

Results 16 PHP-Name-Parser issues
Sort by recently updated
recently updated
newest added

hi Josh, i see you have a nice name parser. one of your fields coming out is "lastname"; is it also possible to add to additional fields "surname prefix" and...

I was excited to find this open-source library of yours. Thanks for making it. I'm trying to replace my own custom name parser with yours because I bet you've put...

Hi. May be time to build release? We want use composer with your project.

I'm not sure if this is an issue or not, it could be interpreted either way. Opening up a discussion. For example: "J. Edgar Hoover" or "M. Night Shyamalan" are...

The issue is that when nickname exists it just pushes the rest of the array. The problem is very visible if you are trying to generate a CSV file from...

Isn't LastName <comma><space> FirstName a very common write-out of a persons full name? `print_r(FullNameParser::parse('LASTNAME, FIRSTNAME'));` ``` Array ( [salutation] => [fname] => Lastname [initials] => [lname] => Firstname [lname_base] =>...

The rules seem to be focussed on US-style names. Is there any support or possibility for optional (pluggable/configurable) non-US name support? As an example, my native tongue (Dutch) has the...

Try this: ``` $parser = new FullNameParser(); $split_name = $parser->parse_name('Fname Lname, Ph.D.'); var_dump($split_name); /* array(7) { ["salutation"]=> string(0) "" ["fname"]=> string(11) "Fname Lname" ["initials"]=> string(0) "" ["lname"]=> string(5) "Ph.D." ["lname_base"]=>...