Skip to content

Commit

Permalink
start improving README
Browse files Browse the repository at this point in the history
  • Loading branch information
wyrfel committed Dec 15, 2016
1 parent 0acd01c commit 508e138
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# TheIconic Name Parser

This is a universal, language-independent name parser.

Its purpose is to split a single string containing a full name,
possibly including salutation, initials, suffixes etc., into
meaningful parts like firstname, lastname, initials, and so on.

## Usage

```
<?php
$parser = new TheIconic\NameParser\Parser();
$name = $parser->parse($name);
$name = $parser->parse($input);
echo $name->getSalutation();
echo $name->getFirstname();
Expand Down

0 comments on commit 508e138

Please sign in to comment.