PHPackages                             activecollab/humannameparser - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. activecollab/humannameparser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

activecollab/humannameparser
============================

Takes human names of arbitrary complexity and various formats leading initial, first name, last name, middle name, nicknames etc

1.0.0(10y ago)192.5k—0.7%1MITPHPPHP &gt;=5.6.0

Since May 7Pushed 10y ago2 watchersCompare

[ Source](https://github.com/activecollab/humannameparser)[ Packagist](https://packagist.org/packages/activecollab/humannameparser)[ Docs](https://labs.activecollab.com)[ RSS](/packages/activecollab-humannameparser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Human Name Parser
=================

[](#human-name-parser)

[![Build Status](https://camo.githubusercontent.com/90c22317f0b36106e43a1b282c9e6ec6dbb4468b4921f864148ea64b157a3990/68747470733a2f2f7472617669732d63692e6f72672f616374697665636f6c6c61622f68756d616e6e616d657061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/activecollab/humannameparser)

Takes human names of arbitrary complexity and various formats and parses initial, first name, last name, middle name, nicknames etc. Example:

```
use ActiveCollab\HumanNameParser\Parser;

$name = new Parser("Peter O'Toole");

print $name->getFirst() . "\n";
print $name->getLast();
```

Running tests
-------------

[](#running-tests)

`cd` to this directory and run:

```
phpunit
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3663d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/729914?v=4)[Ilija Studen](/maintainers/ilijastuden)[@ilijastuden](https://github.com/ilijastuden)

---

Top Contributors

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

---

Tags

parsename

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/activecollab-humannameparser/health.svg)

```
[![Health](https://phpackages.com/badges/activecollab-humannameparser/health.svg)](https://phpackages.com/packages/activecollab-humannameparser)
```

###  Alternatives

[enqueue/dsn

Parse DSN

12525.5M45](/packages/enqueue-dsn)[gabrielelana/byte-units

Library to parse, format and convert byte units

1672.2M19](/packages/gabrielelana-byte-units)[hosmelq/name-of-person

Presenting names of people in full, familiar, abbreviated, and initialized forms

11121.8k](/packages/hosmelq-name-of-person)[soul/address-parse

收货地址解析，成功率99%以上，支持（身份证号，电话，座机，区号，省市区街道地址)

405.4k](/packages/soul-address-parse)[luka-dev/headless-task-server-php

Helper for sending requests to luka-dev/headless-task-server

109.6k](/packages/luka-dev-headless-task-server-php)

PHPackages © 2026

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