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 2024-03-07 06:48 UTC

This package is auto-updated.

Last update: 2024-12-07 02:07:48 UTC


README

Latest Stable Version License PHP Version Require

Provides user-land PHP polyfills for the mb_ucfirst and mb_ucfirst functions added in PHP 8.4.

Requires PHP 8.1 or newer with mbstring extension.

Installation

composer require polyfills/mb-ucfirst-lcfirst

Usage

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

Contributions

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