PHPackages                             shroophp/pattern - 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. shroophp/pattern

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

shroophp/pattern
================

A library for simple pattern matching.

v1.0.4(7y ago)0529↓100%1MITPHP &gt;=5.4

Since Apr 2Compare

[ Source](https://gitlab.com/shroophp/pattern)[ Packagist](https://packagist.org/packages/shroophp/pattern)[ Docs](https://gitlab.com/shroophp/pattern)[ RSS](/packages/shroophp-pattern/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (2)Versions (6)Used By (1)

### README not available

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2712d ago

PHP version history (2 changes)v1.0PHP &gt;=5.4 &lt;7.3

v1.0.3PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5040455?v=4)[Jonty Newman](/maintainers/JontyNewman)[@JontyNewman](https://github.com/JontyNewman)

---

Tags

routingregexroutepatternMatchmatchingshroophp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shroophp-pattern/health.svg)

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

###  Alternatives

[composer/pcre

PCRE wrapping library that offers type-safe preg\_\* replacements.

693313.8M34](/packages/composer-pcre)[spatie/regex

A sane interface for php's built in preg\_\* functions

1.1k17.1M59](/packages/spatie-regex)[league/pipeline

A plug and play pipeline implementation.

1.0k16.0M74](/packages/league-pipeline)[bramus/router

A lightweight and simple object oriented PHP Router

1.1k458.8k48](/packages/bramus-router)[watson/active

Laravel helper for recognising the current route, controller and action

3253.6M14](/packages/watson-active)[gherkins/regexpbuilderphp

PHP port of thebinarysearchtree/regexpbuilderjs

1.4k163.0k1](/packages/gherkins-regexpbuilderphp)

PHPackages © 2026

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