PHPackages                             raicem/turkish-name-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. raicem/turkish-name-parser

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

raicem/turkish-name-parser
==========================

Parsing and validating Turkish names.

1.0.2(9y ago)19MITPHPPHP ^7.0

Since Apr 27Pushed 9y agoCompare

[ Source](https://github.com/raicem/turkish-name-parser)[ Packagist](https://packagist.org/packages/raicem/turkish-name-parser)[ RSS](/packages/raicem-turkish-name-parser/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Turkish Name Parser
===================

[](#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.

### Installation

[](#installation)

`php composer require raicem/turkish-name-parser`

### Usage

[](#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();
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3351d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10389957?v=4)[Cem Ünalan](/maintainers/raicem)[@raicem](https://github.com/raicem)

---

Top Contributors

[![raicem](https://avatars.githubusercontent.com/u/10389957?v=4)](https://github.com/raicem "raicem (4 commits)")

---

Tags

validationname validation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/raicem-turkish-name-parser/health.svg)

```
[![Health](https://phpackages.com/badges/raicem-turkish-name-parser/health.svg)](https://phpackages.com/packages/raicem-turkish-name-parser)
```

###  Alternatives

[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k510.9M898](/packages/composer-semver)[giggsey/libphonenumber-for-php

A library for parsing, formatting, storing and validating international phone numbers, a PHP Port of Google's libphonenumber.

5.0k156.0M487](/packages/giggsey-libphonenumber-for-php)[respect/validation

The most awesome validation engine ever created for PHP

6.0k39.0M407](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k38.3M139](/packages/propaganistas-laravel-phone)[opis/json-schema

Json Schema Validator for PHP

65141.2M263](/packages/opis-json-schema)[giggsey/libphonenumber-for-php-lite

A lite version of giggsey/libphonenumber-for-php, which is a PHP Port of Google's libphonenumber

9315.3M63](/packages/giggsey-libphonenumber-for-php-lite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
