Download the PHP package chrisullyott/human-name-parser without Composer
On this page you can find all versions of the php package chrisullyott/human-name-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chrisullyott/human-name-parser
More information about chrisullyott/human-name-parser
Files in chrisullyott/human-name-parser
Download chrisullyott/human-name-parser
More information about chrisullyott/human-name-parser
Files in chrisullyott/human-name-parser
Vendor chrisullyott
Package human-name-parser
Short Description A human name parser written in PHP.
License MIT
Homepage https://github.com/chrisullyott/human-name-parser
Package human-name-parser
Short Description A human name parser written in PHP.
License MIT
Homepage https://github.com/chrisullyott/human-name-parser
Please rate this library. Is it a good library?
Informations about the package human-name-parser
human-name-parser
A human name parser written in PHP.
Based on Josh Fraser's PHP-Name-Parser. I attempted to rewrite the library to be more easily understandable (at least to myself). Nearly all the original features are maintained.
The algorithm first sanitizes a name string, and then breaks it into smaller pieces using a library of professional titles and suffixes.
Installation
Include in your project, or, install with Composer:
Parsing a name
Methods
Name | Sample output |
---|---|
getFullName() | Dr. Martin Luther King Jr. |
getSalutation() | Dr. |
getFirstName() | Martin |
getMiddleName() | Luther |
getLastName() | King |
getSuffix() | Jr. |
All versions of human-name-parser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package chrisullyott/human-name-parser contains the following files
Loading the files please wait ....