micheldiemer/mbstring

Complementary functions for the mbstring extension

Installs: 49

Dependents: 5

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/micheldiemer/mbstring

1.0.0-beta4 2025-03-25 21:55 UTC

This package is auto-updated.

Last update: 2025-12-12 00:49:09 UTC


README

Provides PHP mb_* functions.

Defines mb_* functions implemented by PHP 8.4 only if they do not exist (tested with function_exists).

Using code from polyfills/mb-trim : https://github.com/PHP-Polyfills/mb_trim and other sources (Internet).

Installation

composer require micheldiemer/mbstring

Usage

Simply use the mb_str_replace, mb_str_contains, mb_str_ends_with, mb_str_starts_with, mb_ucfirst, mb_lcfirst functions as if they were declared.

Contributions

Contributions are welcome either as a GitHub issue or a PR to this repo.