2017 © Pedro Peláez
 

library human-name-parser

Takes human names of arbitrary complexity and various wacky formats and parses them out.

image

tck/human-name-parser

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  • Monday, July 2, 2018
  • by bencarter78
  • Repository
  • 1 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 39 Forks
  • 0 Open issues
  • 8 Versions
  • 29 % Grown

The README.md

Human Name Parser

Forked from [https://github.com/jasonpriem/HumanNameParser.php], (*1)

Description

Takes human names of arbitrary complexity and various wacky formats like:, (*2)

  • J. Walter Weatherman
  • de la Cruz, Ana M.
  • James C. ('Jimmy') O'Dell, Jr.

and parses out the:, (*3)

  • leading initial (Like "J." in "J. Walter Weatherman")
  • first name (or first initial in a name like 'R. Crumb')
  • nicknames (like "Jimmy" in "James C. ('Jimmy') O'Dell, Jr.")
  • middle names
  • surname (including compound ones like "van der Sar' and "Ortega y Gasset"), and
  • suffix (like 'Jr.', 'III')

Example Usage

$parser = new Tck\HumanNameParser\Parser("John Q. Smith");
echo  $parser->surname() . ", " . $parser->firstName();
// returns "Smith, John"

The Versions

02/07 2018

dev-master

9999999-dev

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

02/07 2018

v0.1.6

0.1.6.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

28/06 2018

v0.1.4

0.1.4.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

28/06 2018

v0.1.5

0.1.5.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

14/06 2017

v0.1.3

0.1.3.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

13/04 2017

v0.1.2

0.1.2.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

11/04 2017

v0.1.1

0.1.1.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires

 

11/04 2017

v0.1

0.1.0.0

Takes human names of arbitrary complexity and various wacky formats and parses them out.

  Sources   Download

The Requires