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

Abandoned → [opis/utils](/?search=opis%2Futils)Library

opis/pattern
============

A library that will help you defining patterns and build a valid regex for them

1.0.0(7y ago)22.3k↓100%Apache-2.0PHP &gt;=7.0.0

Since May 30Compare

[ Source](https://github.com/opis/pattern)[ Packagist](https://packagist.org/packages/opis/pattern)[ Docs](http://opis.io)[ RSS](/packages/opis-pattern/feed)WikiDiscussions Synced today

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

### README not available

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

###  Health Score

29

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47afaf3c711dd321c8d09bae2afed928971ec9e9a7593c925749696f04d2fddd?d=identicon)[msarca](/maintainers/msarca)

![](https://www.gravatar.com/avatar/7c720b40eb280d9fd33cc35d74c34b3763c2777bd2502d094625faa367f0dca4?d=identicon)[sorinsarca](/maintainers/sorinsarca)

---

Tags

regexopispattern

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[composer/pcre

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

693303.9M28](/packages/composer-pcre)[spatie/regex

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

1.1k16.2M47](/packages/spatie-regex)[league/pipeline

A plug and play pipeline implementation.

1.0k15.7M68](/packages/league-pipeline)[rawr/t-regx

PHP regular expression brought up to modern standards.

456154.9k3](/packages/rawr-t-regx)[gherkins/regexpbuilderphp

PHP port of thebinarysearchtree/regexpbuilderjs

1.4k149.0k1](/packages/gherkins-regexpbuilderphp)[jasny/twig-extensions

A set of useful Twig filters

10710.0M8](/packages/jasny-twig-extensions)

PHPackages © 2026

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