2017 © Pedro Peláez
 

library turkish-name-parser

Parsing and validating Turkish names.

image

raicem/turkish-name-parser

Parsing and validating Turkish names.

  • Thursday, April 27, 2017
  • by raicem
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Turkish Name Parser

This is a simple parser that parses Turkish names and tries to validate them. Characters, tags and numbers are stripped and what remains is evaluated. Names with single letters, with no vowels are considered invalid and are stripped from the result. Parser then tries to order names and determine first name, middle name and the last name., (*1)

Installation

php composer require raicem/turkish-name-parser, (*2)

Usage

use Raicem\NameParser;

$parser = new NameParser;
$name = $parser->parse('Ahmet Yılmaz');

// test weather the name was valid
$name->isValid();

// get the result as array
$name->asArray();

// get the result as string;
$name->asString();

// toString allows you to get the string as well
echo $name

// you can see whichs parts are invalid
$name->getInvalidChunks();

The Versions

27/04 2017

dev-master

9999999-dev

Parsing and validating Turkish names.

  Sources   Download

MIT

The Requires

  • ext-mbstring *
  • php ^7.0

 

The Development Requires

validation name validation

27/04 2017

dev-development

dev-development

Parsing and validating Turkish names.

  Sources   Download

MIT

The Requires

  • ext-mbstring *
  • php ^7.0

 

The Development Requires

validation name validation

27/04 2017

1.0.2

1.0.2.0

Parsing and validating Turkish names.

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-mbstring *

 

The Development Requires

validation name validation

27/04 2017

1.0.1

1.0.1.0

Parsing and validating Turkish names.

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-mbstring *

 

The Development Requires

validation name validation

27/04 2017

1.0.0

1.0.0.0

Parsing and validating Turkish names.

  Sources   Download

MIT

The Development Requires

validation name validation