Skip to content

Commit f3347b6

Browse files
committed
(updated readme)
1 parent 48bbe0c commit f3347b6

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ $serviceFactory = new ServiceFactory($context);
4444
```
4545

4646

47-
## Pinger call
47+
## Send a ping
4848

49-
This code sends a simple ping to the nameapi server to test the connection:
49+
This code sends a simple ping to nameapi to test the connection:
5050

5151
```php
5252
$pinger = $serviceFactory->systemServices()->pinger();
@@ -137,17 +137,6 @@ echo $personMatcherResult->getPersonMatchType()->toString(); //will print 'MATCH
137137
```
138138

139139

140-
## Email Name Parser
141-
142-
The Email Name Parser extracts names out of email addresses.
143-
144-
```php
145-
$emailNameParser = $serviceFactory->emailServices()->emailNameParser();
146-
$result = $emailNameParser->parse("[email protected]");
147-
echo $result;
148-
```
149-
150-
151140
## Name Formatter
152141

153142
The Name Formatter displays personal names in the desired form. This includes the order as well as upper and lower case writing.
@@ -164,6 +153,18 @@ echo $formatterResult->getFormatted(); //will print 'John Kennedy'
164153
```
165154

166155

156+
## Email Name Parser
157+
158+
The Email Name Parser extracts names out of email addresses.
159+
160+
```php
161+
$emailNameParser = $serviceFactory->emailServices()->emailNameParser();
162+
$result = $emailNameParser->parse("[email protected]");
163+
echo $result;
164+
```
165+
166+
167+
167168
## Disposable Email Address Detector
168169

169170
The DEA-Detector checks email addresses against a list of known "trash domains" such as mailinator.com.

0 commit comments

Comments
 (0)