activecollab/humannameparser

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

Maintainers

Package info

github.com/activecollab/humannameparser

Homepage

pkg:composer/activecollab/humannameparser

Statistics

Installs: 91 579

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2016-05-07 19:39 UTC

This package is auto-updated.

Last update: 2026-03-05 05:16:00 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