nameparse/nameparse-php

NameParse is a name parsing service, this is the php sdk

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/nameparse/nameparse-php

v1.0.0 2020-04-08 22:39 UTC

This package is auto-updated.

Last update: 2025-10-09 13:13:51 UTC


README

A fast way to add the www.nameparse.com service into your PHP projects.

Installation

The recommended way to install the NameParse SDK is through Composer.

composer require nameparse/nameparse-php-sdk

Usage

$np = new NameParse(['key'=>'your_name_parse_key_here']);
$results = $np->parse("Chris Schuld");

$f = $results->getFirst();
$l = $results->getLast();

Tests

Tests are executed via PHPUnit. You will need to use composer to install the dev

./vendor/bin/phpunit