PHPackages                             polyfills/mb-ucfirst-lcfirst - 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. polyfills/mb-ucfirst-lcfirst

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

polyfills/mb-ucfirst-lcfirst
============================

PHP: Provides a user-land polyfill for `mb\_ucfirst` and `mb\_lcfirst` functions added in PHP 8.4.

v1.0.0(2y ago)12111MITPHPPHP ^8.1

Since Mar 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PHP-Polyfills/mb_ucfirst-lcfirst)[ Packagist](https://packagist.org/packages/polyfills/mb-ucfirst-lcfirst)[ RSS](/packages/polyfills-mb-ucfirst-lcfirst/feed)WikiDiscussions main Synced 1mo ago

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

`mb_ucfirst` and `mb_lcfirst` polyfills
=======================================

[](#mb_ucfirst-and--mb_lcfirst-polyfills)

[![Latest Stable Version](https://camo.githubusercontent.com/63cc447fcca8ccfa5bf2364a44c24ce90da6840fedb578d4088009bc70a76c00/68747470733a2f2f706f7365722e707567782e6f72672f706f6c7966696c6c732f6d622d756366697273742d6c6366697273742f76)](https://packagist.org/packages/polyfills/mb-ucfirst-lcfirst) [![License](https://camo.githubusercontent.com/fa6998509274be9a5aac32ae4cd868142649adfdff59451f0391746ee604ea78/68747470733a2f2f706f7365722e707567782e6f72672f706f6c7966696c6c732f6d622d756366697273742d6c6366697273742f6c6963656e7365)](https://packagist.org/packages/polyfills/mb-ucfirst-lcfirst) [![PHP Version Require](https://camo.githubusercontent.com/bbc04cf85a03047c6db7c5802b9414fc66581f35cd691d00268b52663220317d/68747470733a2f2f706f7365722e707567782e6f72672f706f6c7966696c6c732f6d622d756366697273742d6c6366697273742f726571756972652f706870)](https://packagist.org/packages/polyfills/mb-ucfirst-lcfirst)

Provides user-land PHP polyfills for the [`mb_ucfirst` and `mb_ucfirst` functions added in PHP 8.4](https://php.watch/versions/8.4/mb_ucfirst-mb_ucfirst).

Requires PHP 8.1 or newer with `mbstring` extension.

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

[](#installation)

```
composer require polyfills/mb-ucfirst-lcfirst
```

Usage
-----

[](#usage)

Simply use the `mb_ucfirst` and `mb_ucfirst` functions as if they were declared already.

Contributions
-------------

[](#contributions)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

794d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1703f88c1f225e3fadff28458e81328f86668d9631a8c489f45ea1aaebe12df2?d=identicon)[Ayesh](/maintainers/Ayesh)

---

Top Contributors

[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (3 commits)")[![erickskrauch](https://avatars.githubusercontent.com/u/4787256?v=4)](https://github.com/erickskrauch "erickskrauch (1 commits)")

---

Tags

mbstringcompatibilitypolyfillshimpolyfillscompatphp84phpwatch

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/polyfills-mb-ucfirst-lcfirst/health.svg)

```
[![Health](https://phpackages.com/badges/polyfills-mb-ucfirst-lcfirst/health.svg)](https://phpackages.com/packages/polyfills-mb-ucfirst-lcfirst)
```

###  Alternatives

[symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

7.8k1.2B515](/packages/symfony-polyfill-mbstring)[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.8k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-util

Symfony utilities for portability of PHP codes

1.3k123.9M7](/packages/symfony-polyfill-util)[symfony/polyfill-intl-idn

Symfony polyfill for intl's idn\_to\_ascii and idn\_to\_utf8 functions

3.4k774.6M90](/packages/symfony-polyfill-intl-idn)[symfony/polyfill-intl-normalizer

Symfony polyfill for intl's Normalizer class and related functions

2.1k830.2M36](/packages/symfony-polyfill-intl-normalizer)[symfony/polyfill-php73

Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions

2.4k581.8M67](/packages/symfony-polyfill-php73)

PHPackages © 2026

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