PHPackages                             sehrgut/mb-str-pad - 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. sehrgut/mb-str-pad

AbandonedArchivedLibrary

sehrgut/mb-str-pad
==================

Multibyte-capable alternative to php's builtin str\_pad() function

1.0.0(7y ago)215.4k1CC0-1.0PHP

Since Aug 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sehrgutesoftware/mb-str-pad)[ Packagist](https://packagist.org/packages/sehrgut/mb-str-pad)[ RSS](/packages/sehrgut-mb-str-pad/feed)WikiDiscussions master Synced today

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

mb\_str\_pad()
==============

[](#mb_str_pad)

[![Travis Build Status](https://camo.githubusercontent.com/9b39e4112a797b6c7897a32f96a307a3d9d596f5e75d3c758b5591e4828c3b2a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7365687267757465736f6674776172652f6d622d7374722d7061642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/sehrgutesoftware/mb-str-pad)

> Multibyte-capable alternative to php's builtin str\_pad() function

It has exactly the same interface as the original `str_pad()` function, which is documented here:

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

[](#installation)

```
composer require sehrgut/mb-str-pad
```

Usage
-----

[](#usage)

Composer should autoload the `mb_str_pad()` function into global namespace. Use it just like any built-in function.

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

Public Domain

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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

2829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/083c5f876eae098dee938b3685455816f8d411a7be550d0f58f663e02a0eea7f?d=identicon)[jsphpl](/maintainers/jsphpl)

---

Top Contributors

[![jsphpl](https://avatars.githubusercontent.com/u/5419165?v=4)](https://github.com/jsphpl "jsphpl (10 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

multibytemultibyte-stringsphpphp7string

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sehrgut-mb-str-pad/health.svg)

```
[![Health](https://phpackages.com/badges/sehrgut-mb-str-pad/health.svg)](https://phpackages.com/packages/sehrgut-mb-str-pad)
```

PHPackages © 2026

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