PHPackages                             piedweb/text-analyzer - 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. piedweb/text-analyzer

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

piedweb/text-analyzer
=====================

Semantic Analysis : Extract Expressions from a text and order it by density.

0.1.885(4mo ago)021.1k1MITPHPPHP &gt;=8.4

Since Jan 3Pushed 2mo agoCompare

[ Source](https://github.com/PiedWeb/text-analyzer)[ Packagist](https://packagist.org/packages/piedweb/text-analyzer)[ Docs](https://dev.piedweb.com)[ RSS](/packages/piedweb-text-analyzer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (152)Used By (1)

[![Open Source Package](https://raw.githubusercontent.com/PiedWeb/piedweb-devoluix-theme/master/src/img/logo_title.png)](https://dev.piedweb.com)

Text Analyzer
=============

[](#text-analyzer)

[![Latest Version](https://camo.githubusercontent.com/5a404040e30a661c43927102f30c30aa9dcd56b489af918375b9f81a2e53268c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f506965645765622f54657874416e616c797a65722e7376673f7374796c653d666c6174266c6162656c3d72656c65617365)](https://github.com/PiedWeb/TextAnalyzer/tags)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE)[![GitHub Tests Action Status](https://camo.githubusercontent.com/1b2308be9d0f725e4f4c7e8d499a67f8458a9e64c7643c8f3b5855566d450403/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f506965645765622f54657874416e616c797a65722f54657374733f6c6162656c3d7465737473)](https://github.com/PiedWeb/TextAnalyzer/actions)[![Quality Score](https://camo.githubusercontent.com/be5545e204f692532ad6e1b1d6181679d8d8b9b3376316eb80f96d39c2d11942/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f506965645765622f54657874416e616c797a65722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/PiedWeb/TextAnalyzer)[![Code Coverage](https://camo.githubusercontent.com/3e3038f8be022cc03c9b19e056abc0b265aab81c4e576250dcec901901958a31/68747470733a2f2f636f6465636f762e696f2f67682f506965645765622f54657874416e616c797a65722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/PiedWeb/TextAnalyzer/branch/main)[![Type Coverage](https://camo.githubusercontent.com/eef406901cec1a61b5325829b14def2c10bc73ffc0de8b8f2258026598376945/68747470733a2f2f73686570686572642e6465762f6769746875622f506965645765622f54657874416e616c797a65722f636f7665726167652e737667)](https://shepherd.dev/github/PiedWeb/TextAnalyzer)[![Total Downloads](https://camo.githubusercontent.com/876c622706d5863755feb37ce2e3b45f878f3fbac1d06387957e14d06618226f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706965647765622f746578742d616e616c797a65722e7376673f7374796c653d666c6174)](https://packagist.org/packages/piedweb/text-analyzer)

Semantic Analysis : Extract Expressions from a text and order it by density.

Install
-------

[](#install)

Via [Packagist](https://img.shields.io/packagist/dt/piedweb/text-analyzer.svg?style=flat)

```
$ composer require piedweb/text-analyzer
```

Usage
-----

[](#usage)

```
use \PiedWeb\ExpressionHarvester\MultiAnalyzer;

$test = new MultiAnalyzer($onlyInSentence = true, $expressionMaxWords = 5 );

$result = $test->addContent("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed...");
$result->getExpressions();

$results = $test->exec(); // @return \PiedWeb\TextAnalyzer\Analysis
    // same methods except in get expression, the value for each expression is not anymore his number
```

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing](https://dev.piedweb.com/contributing)

Credits
-------

[](#credits)

- [PiedWeb](https://piedweb.com)
- [All Contributors](https://github.com/PiedWeb/:package_skake/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance81

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

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

Recently: every ~0 days

Total

151

Last Release

140d ago

PHP version history (4 changes)0.1.24PHP &gt;=8.1

0.1.77PHP &gt;=8.2

0.1.796PHP &gt;=8.3

0.1.883PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/afce4cf517928a50560237f1410d5957271fd808671b2216687ecf1422adaee0?d=identicon)[Robin D.](/maintainers/Robin%20D.)

---

Top Contributors

[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (22 commits)")[![RobinDev](https://avatars.githubusercontent.com/u/3944894?v=4)](https://github.com/RobinDev "RobinDev (1 commits)")

---

Tags

Pied WebTextAnalyzer

### Embed Badge

![Health badge](/badges/piedweb-text-analyzer/health.svg)

```
[![Health](https://phpackages.com/badges/piedweb-text-analyzer/health.svg)](https://phpackages.com/packages/piedweb-text-analyzer)
```

###  Alternatives

[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)[piedweb/text-spinner

Generate content from a spinned text (content spinning via spinning tool ak rephraser)

2419.5k](/packages/piedweb-text-spinner)[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

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