tlshaheen / human-name-parser
There is no license information available for the latest version (0.3) of this package.
Takes human names of arbitrary complexity and various wacky formats and parses them out.
0.3
2016-05-11 15:22 UTC
Requires
- php: ^5.3.3 || ^7.0
This package is not auto-updated.
Last update: 2026-03-01 03:37:34 UTC
README
Name: HumanNameParse.php Version: 0.2 Date: 6 Sept. 2010 Author: Jason Priem jason@jasonpriem.com Website: http://jasonpriem.com/human-name-parse License: http://www.opensource.org/licenses/mit-license.php
To Install
Add "tlshaheen/human-name-parser": "0.2" to your composer.json file and run composer update.
Description
Takes human names of arbitrary complexity and various wacky formats like:
- J. Walter Weatherman
- de la Cruz, Ana M.
- James C. ('Jimmy') O'Dell, Jr.
and parses out the:
- 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
- last name (including compound ones like "van der Sar' and "Ortega y Gasset"), and
- suffix (like 'Jr.', 'III')