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

ActiveLibrary

sebastiansulinski/regex-kit
===========================

Regex Kit : purpose-made methods for easy string replacement

1.0.1(11y ago)0171MITPHPPHP &gt;=5.4.0

Since Mar 1Pushed 11y ago1 watchersCompare

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

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

Regex Kit
=========

[](#regex-kit)

Regex Kit : purpose-made handfull of methods for easy string replacement

Usage
-----

[](#usage)

### Example 1

[](#example-1)

Find uri's and replace them with anchor tags.

```
use SSD\RegexKit\Factory;

echo Factory::anchor(
    'Visit documentation at http://github.com or for more info use http://google.com',
    [
        'target' => '_blank'
    ]
);

```

### Example 2

[](#example-2)

Find `@User` and replace them with anchor tags.

```
use SSD\RegexKit\Factory;

echo Factory::atUser(
    'Hey @JohnDoe, thanks for sorting this out!',
    '/user/',
    [
        'target' => '_blank',
        'title' => 'View user profile'
    ]
);

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

4089d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2211203?v=4)[Sebastian Sulinski](/maintainers/sebastiansulinski)[@sebastiansulinski](https://github.com/sebastiansulinski)

---

Top Contributors

[![sebastiansulinski](https://avatars.githubusercontent.com/u/2211203?v=4)](https://github.com/sebastiansulinski "sebastiansulinski (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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