lujewwy/capitalizer

There is no license information available for the latest version (v1.0.2) of this package.

v1.0.2 2023-05-21 08:38 UTC

This package is auto-updated.

Last update: 2025-06-21 13:24:18 UTC


README

The library capitalizes all the words in the provided string except the words that are already fully in upper case.

Requirements

  • PHP 7.0

Installation

$ composer require lujewwy/capitalizer

Basic usage

Capitalizer::capitalize('hello, world!'); // Hello, World!
Capitalizer::capitalize('ABC123'); // ABC123
Capitalizer::capitalize('rfc12'); // Rfc12