PHPackages                             flexic/regex - 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. flexic/regex

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

flexic/regex
============

Modern regular expression library for PHP

0.0.1(3y ago)03GPL-3.0-or-laterPHPPHP ^8.1

Since Dec 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/flexicsystems/regex)[ Packagist](https://packagist.org/packages/flexic/regex)[ RSS](/packages/flexic-regex/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

🤘 Regex
=======

[](#-regex)

This package provides a modern library for regular expressions.

Installation
------------

[](#installation)

Run

```
composer require flexic/regex
```

Usage
=====

[](#usage)

- Documentation about Pattern: [Pattern.md](./docs/Pattern.md)
- How to use: [HowToUse.md](./docs/HowToUse.md)
- Method signatures: [MethodSignatures.md](./docs/MethodSignatures.md)
- Predefined patterns: [PredefinedPattern.md](./docs/PredefinedPattern.md)
- Examples: [Examples.md](./docs/Examples.md)

---

### License

[](#license)

This package is licensed using the GNU License.

Please have a look at [LICENSE.md](LICENSE.md).

---

[![Donate](https://camo.githubusercontent.com/b57c445af971e3e99c2d0ccdbf4fa7faa4358ba27fecc8f68459b30289f82eda/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d626c75652e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q98R2QXXMTUF6&source=url)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1254d ago

### Community

Maintainers

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

---

Top Contributors

[![ThemePoint](https://avatars.githubusercontent.com/u/28843201?v=4)](https://github.com/ThemePoint "ThemePoint (45 commits)")

---

Tags

phpregexregular expression

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/flexic-regex/health.svg)

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

###  Alternatives

[composer/pcre

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

693313.8M34](/packages/composer-pcre)[gherkins/regexpbuilderphp

PHP port of thebinarysearchtree/regexpbuilderjs

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

Fluent regular expressions in PHP.

3372.0k1](/packages/selvinortiz-flux)[lucleroy/php-regex

PHP Regular Expressions Builder

474.7k3](/packages/lucleroy-php-regex)

PHPackages © 2026

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