PHPackages                             drupol/phpngrams - 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. drupol/phpngrams

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

drupol/phpngrams
================

Get N-Grams from strings and/or arrays.

1.1.3(6y ago)95.6k↑27.7%MITPHP &gt;= 7.1.3

Since Feb 5Compare

[ Source](https://github.com/drupol/phpngrams)[ Packagist](https://packagist.org/packages/drupol/phpngrams)[ RSS](/packages/drupol-phpngrams/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/drupol/phpngrams).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

9

Last Release

2482d ago

Major Versions

0.2.0 → 1.0.02018-10-23

PHP version history (2 changes)0.1.0PHP &gt;= 7.0

1.1.3PHP &gt;= 7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a5b33672e6fed2f03fee680279b6bddb884ca494237764e8c4dbb2c77e8bf05?d=identicon)[drupol](/maintainers/drupol)

---

Tags

n-gramsngramngrams

### Embed Badge

![Health badge](/badges/drupol-phpngrams/health.svg)

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

###  Alternatives

[landrok/language-detector

A fast and reliable PHP library for detecting languages

132647.0k3](/packages/landrok-language-detector)[wwwision/dcb-eventstore

Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini

2131.5k10](/packages/wwwision-dcb-eventstore)

PHPackages © 2026

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