activecollab/humannameparser

Takes human names of arbitrary complexity and various formats leading initial, first name, last name, middle name, nicknames etc

1.0.0 2016-05-07 19:39 UTC

README

Build Status

Takes human names of arbitrary complexity and various formats and parses initial, first name, last name, middle name, nicknames etc. Example:

use ActiveCollab\HumanNameParser\Parser;

$name = new Parser("Peter O'Toole");

print $name->getFirst() . "\n";
print $name->getLast();

Running tests

cd to this directory and run:

phpunit