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

This package is auto-updated.

Last update: 2024-12-05 02:34:32 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