nameparse / nameparse-php
NameParse is a name parsing service, this is the php sdk
v1.0.0
2020-04-08 22:39 UTC
Requires (Dev)
- phpunit/phpunit: ^9.1
This package is auto-updated.
Last update: 2024-10-09 11:01:30 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