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();
cd
to this directory and run:
phpunit