PHPackages                             threshold/mb-substr-replace - 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. threshold/mb-substr-replace

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

threshold/mb-substr-replace
===========================

substr\_replace for unicode characters.

v1.0(7y ago)11.7k↓100%MITPHPPHP &gt;=5.3

Since May 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sallaizalan/mb-substr-replace)[ Packagist](https://packagist.org/packages/threshold/mb-substr-replace)[ Docs](https://github.com/sallaizalan/mb-substr-replace)[ RSS](/packages/threshold-mb-substr-replace/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

mb\_substr\_replace
===================

[](#mb_substr_replace)

> substr\_replace for unicode characters.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require threshold/mb-substr-replace
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Usage
-----

[](#usage)

```
$string = mb_substr_replace($string, $replacement, $start, $length);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2566d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75f9ce561b91129b26bd4d82422e9b6720528c4651631b1578af6c3dea003d2d?d=identicon)[threshold](/maintainers/threshold)

---

Top Contributors

[![sallaizalan](https://avatars.githubusercontent.com/u/14069471?v=4)](https://github.com/sallaizalan "sallaizalan (2 commits)")

---

Tags

phpunicodemb\_substr\_replacemb\_substrsubstr\_replace

### Embed Badge

![Health badge](/badges/threshold-mb-substr-replace/health.svg)

```
[![Health](https://phpackages.com/badges/threshold-mb-substr-replace/health.svg)](https://phpackages.com/packages/threshold-mb-substr-replace)
```

###  Alternatives

[voku/portable-utf8

Portable UTF-8 library - performance optimized (unicode) string functions for php.

52322.4M40](/packages/voku-portable-utf8)[unicodeveloper/laravel-emoji

A Laravel 5 Package for Using &amp; Working With Emojis

21024.9k](/packages/unicodeveloper-laravel-emoji)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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