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

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

foxorm/gibberish-detector
=========================

Determines if text contains gibberish.

v1.1.0(9y ago)343.7k↓28.9%2MITPHP

Since Nov 15Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

Gibberish Detector PHP
======================

[](#gibberish-detector-php)

Determines if text contains gibberish.

Example 1: You want phrases like "Hello, world" and never "dsfknifdkoindwsif32839hdd"

Example 2: You want usernames like "jamesjohn" and never "WWWWWWWWWWWWWWWWWWW"

How does it work?
-----------------

[](#how-does-it-work)

Markov Chains. In this case, they describe which letters should or should not to be next to each other. By showing examples of good text and bad text, it teaches the software how to guess what letter combinations look like gibberish and which letter combinations look reasonably likely to be good text.

How do I use it?
----------------

[](#how-do-i-use-it)

1. Train the Markov Chains

```
$trainingSuccessful = Gibberish::train(
	$big_text_file,
	$good_text_file,
	$bad_text_file,
	$matrix_file
	);

```

2. Test new text against the Markov Chains

```
$oddsItsGoodText = Gibberish::test($inputText, $matrix_file, true);

```

Who made it?
------------

[](#who-made-it)

Originally written in Python by Rob Renaud.

Translated into PHP by Oliver Lillie.

Spruced up by Richard512

Implementation in composer by Jo Surikat

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

3448d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/085e64547ac1b32cc49f4f6ba5950c35f593f79d8523e2379869ab512eb8a725?d=identicon)[surikat](/maintainers/surikat)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/foxorm-gibberish-detector/health.svg)

```
[![Health](https://phpackages.com/badges/foxorm-gibberish-detector/health.svg)](https://phpackages.com/packages/foxorm-gibberish-detector)
```

PHPackages © 2026

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