PHPackages                             vanderlee/multibyte - 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. vanderlee/multibyte

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

vanderlee/multibyte
===================

A collection of multibyte functions.

1.1.1(10y ago)54.4k[1 issues](https://github.com/vanderlee/PHP-multibyte-functions/issues)MITPHPPHP &gt;=5.2.0

Since Feb 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vanderlee/PHP-multibyte-functions)[ Packagist](https://packagist.org/packages/vanderlee/multibyte)[ Docs](https://github.com/vanderlee/PHP-multibyte-functions)[ RSS](/packages/vanderlee-multibyte/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

PHP multibyte functions
=======================

[](#php-multibyte-functions)

Version 1.1.1

[![Build Status](https://camo.githubusercontent.com/85aa423fc37d9b14ab6ee3bfe55c59920ed7230230392f64fc8e153d735dae21/68747470733a2f2f7472617669732d63692e6f72672f76616e6465726c65652f5048502d6d756c7469627974652d66756e6374696f6e732e737667)](https://travis-ci.org/vanderlee/PHP-multibyte-functions)

Copyright © 2015-2016 Martijn van der Lee. MIT Open Source license applies.

Introduction
------------

[](#introduction)

This is just a collection of multibyte (mb\_\*) functions to augment the builtin functions.

Unittests included.

Methods
-------

[](#methods)

### mb\_explode

[](#mb_explode)

`array mb_explode($pattern, $subject[, $limit = -1[, $flags = 0 ] ])`

Multibyte version of `preg_split`, including all it's flags.

The `$pattern` behaves like the patterns of `mb_split`, all other arguments and the return is like preg\_split.

### mb\_trim

[](#mb_trim)

`string mb_trim($string)`

Trims whitespace from both the left and right side of the string.

### mb\_ucfirst

[](#mb_ucfirst)

`string mb_ucfirst($string[, string $encoding = mb_internal_encoding() ])`

Make a string's first character uppercase.

### mb\_ucwords

[](#mb_ucwords)

`string mb_ucwords($string[, string $encoding = mb_internal_encoding() ])`

Uppercase the first character of each word in a string.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3795d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59428f021d3985e299ebd676bbe50fa592430f8dd1d57af38df8833b19079ee8?d=identicon)[vanderlee](/maintainers/vanderlee)

---

Top Contributors

[![vanderlee](https://avatars.githubusercontent.com/u/649240?v=4)](https://github.com/vanderlee "vanderlee (16 commits)")

---

Tags

multibytembfunctionfunctionsUTF

### Embed Badge

![Health badge](/badges/vanderlee-multibyte/health.svg)

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

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.3M192](/packages/danielstjules-stringy)[voku/stringy

A string manipulation library with multibyte support

1863.9M26](/packages/voku-stringy)[voku/portable-utf8

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

52323.5M49](/packages/voku-portable-utf8)[statamic/stringy

A string manipulation library with multibyte support, forked from @statamic

245.0M18](/packages/statamic-stringy)[maciejczyzewski/bottomline

A full-on PHP manipulation utility belt that provides support for working with arrays, objects, and iterables; a lodash or underscore equivalent for PHP.

475643.1k10](/packages/maciejczyzewski-bottomline)[laravelista/ekko

Framework agnostic PHP package for marking navigation items active.

274700.4k4](/packages/laravelista-ekko)

PHPackages © 2026

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