PHPackages                             lmz/phpanalysis - 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. lmz/phpanalysis

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

lmz/phpanalysis
===============

The PHP library for phpanalysis

v1.0.3(9y ago)215.6k33MITPHPPHP &gt;=5.4.0

Since Oct 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/liumingzhij26/phpanalysis)[ Packagist](https://packagist.org/packages/lmz/phpanalysis)[ Docs](https://github.com/liumingzhij26/phpanalysis)[ RSS](/packages/lmz-phpanalysis/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (3)

phpanalysis
===========

[](#phpanalysis)

基于phpanalysis的功能封装,方便使用php语言分词

```
    \Phpanalysis\PhpAnalysis::$loadInit = false;
    $pa = new \Phpanalysis\PhpAnalysis('utf-8', 'utf-8', true);
    //载入词典
    $pa->LoadDict();
    //执行分词
    $pa->SetSource('今天不要忘记给智聪带面膜
    昨天喝了咖啡，晚上失眠，现在蓝瘦香菇
    北京天气变得好冷了，秋风萧瑟');
    $pa->differMax = true;
    $pa->unitWord = true;
    $pa->StartAnalysis( true );
    $okresult = $pa->GetFinallyResult('###', false);

    print_r($okresult);

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~1 days

Total

3

Last Release

3551d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dabbb6e648e15b1a36128bf06e81d1cc928c28c226707d8b11540c1b8b05a75?d=identicon)[liumingzhij26](/maintainers/liumingzhij26)

---

Top Contributors

[![liumingzhij26](https://avatars.githubusercontent.com/u/7222918?v=4)](https://github.com/liumingzhij26 "liumingzhij26 (5 commits)")[![xiaohigh](https://avatars.githubusercontent.com/u/4426490?v=4)](https://github.com/xiaohigh "xiaohigh (1 commits)")

---

Tags

phpanalysis

### Embed Badge

![Health badge](/badges/lmz-phpanalysis/health.svg)

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

###  Alternatives

[genealabs/laravel-multi-step-progressbar

63278.0k](/packages/genealabs-laravel-multi-step-progressbar)[dem13n/discussion-cards

Output of discussions in form of cards

154.6k](/packages/dem13n-discussion-cards)

PHPackages © 2026

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