PHPackages                             degraciamathieu/php-wording-detector - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. degraciamathieu/php-wording-detector

ActivePackage[DevOps &amp; Deployment](/categories/devops)

degraciamathieu/php-wording-detector
====================================

check your DDD approach by analyzing your variables

v1.0.0(1y ago)1414MITPHPPHP ^8.1

Since Mar 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/DeGraciaMathieu/php-wording-detector)[ Packagist](https://packagist.org/packages/degraciamathieu/php-wording-detector)[ RSS](/packages/degraciamathieu-php-wording-detector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (14)Used By (0)

[![](https://github.com/DeGraciaMathieu/php-smelly-code-detector/raw/master/arts/robot.png)](https://github.com/DeGraciaMathieu/php-smelly-code-detector/blob/master/arts/robot.png)

[![testing](https://github.com/DeGraciaMathieu/php-wording-detector/actions/workflows/phpunit.yml/badge.svg)](https://github.com/DeGraciaMathieu/php-wording-detector/actions/workflows/phpunit.yml)[![Packagist Version](https://camo.githubusercontent.com/4aa12b4cb389ca672a2d79ecf9005d08ff5b604dd6efcd50acd3f6ec2b6e239e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656772616369616d6174686965752f7068702d776f7264696e672d6465746563746f72)](https://camo.githubusercontent.com/4aa12b4cb389ca672a2d79ecf9005d08ff5b604dd6efcd50acd3f6ec2b6e239e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656772616369616d6174686965752f7068702d776f7264696e672d6465746563746f72)[![Packagist PHP Version](https://camo.githubusercontent.com/726fee0e86e7c882bbc5ade207cd872a4c8a14cb898b44f16376a213f101b26b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f64656772616369616d6174686965752f7068702d776f7264696e672d6465746563746f722f706870)](https://camo.githubusercontent.com/726fee0e86e7c882bbc5ade207cd872a4c8a14cb898b44f16376a213f101b26b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f64656772616369616d6174686965752f7068702d776f7264696e672d6465746563746f722f706870)

php-wording-detector
====================

[](#php-wording-detector)

Simple tool to analyze and split the words contained in your code to check your DDD approach.

Installation
============

[](#installation)

```
Requires >= PHP 8.1

```

Phar
----

[](#phar)

This tool is distributed as a [PHP Archive (PHAR)](https://www.php.net/phar):

```
wget https://github.com/DeGraciaMathieu/php-wording-detector/raw/master/builds/php-wording-detector

```

```
php php-wording-detector --version

```

Composer
--------

[](#composer)

Alternately, you can directly use composer :

```
composer require degraciamathieu/php-wording-detector --dev

```

Usage
=====

[](#usage)

By default only variables are analyzed :

```
php php-wording-detector inspect {path}

```

The `--with-method` option allows to parse the name of the methods :

```
php php-wording-detector inspect {path} --with-method

```

```
$ php php-wording-detector inspect app/Domains/Activity
❀ PHP Wording Detector ❀
+-------------+-----------------------+-------------+
| total words | total distincts words | average use |
+-------------+-----------------------+-------------+
| 2'166       | 52                    | 42          |
+-------------+-----------------------+-------------+
+--------------+-------+------------+
| words        | usage | percentage |
+--------------+-------+------------+
| activity     | 667   | 31%        |
| data         | 154   | 7%         |
| code         | 150   | 7%         |
| item         | 143   | 7%         |
| query        | 128   | 6%         |
| request      | 88    | 4%         |
| mode         | 85    | 4%         |
| translations | 78    | 4%         |
| id           | 77    | 4%         |
| type         | 63    | 3%         |
| new          | 46    | 2%         |
| product      | 41    | 2%         |
| translation  | 41    | 2%         |
| types        | 40    | 2%         |
| master       | 33    | 2%         |
| filters      | 29    | 1%         |
| language     | 24    | 1%         |
| builder      | 23    | 1%         |
| items        | 22    | 1%         |
| section      | 21    | under 1%   |
+--------------+-------+------------+

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

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 ~43 days

Recently: every ~107 days

Total

11

Last Release

728d ago

Major Versions

v0.4.0 → v1.0.02024-05-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/b7c883dad74109462c750a2bafef33c1d26da31c68e90b686cc0aa355b57feaf?d=identicon)[DeGraciaMathieu](/maintainers/DeGraciaMathieu)

---

Top Contributors

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

---

Tags

cidddmetricsphpqualitystatic-analyzerphpMetricsqualitydddcistatic analyzer

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/degraciamathieu-php-wording-detector/health.svg)

```
[![Health](https://phpackages.com/badges/degraciamathieu-php-wording-detector/health.svg)](https://phpackages.com/packages/degraciamathieu-php-wording-detector)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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