PHPackages                             yhoiseth/stringy-inflector - 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. yhoiseth/stringy-inflector

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

yhoiseth/stringy-inflector
==========================

A PHP library that helps you capitalize personal names

v1.0(9y ago)24.4k1[1 PRs](https://github.com/yhoiseth/StringyInflector/pulls)MITPHPPHP &gt;=5.4.0

Since Aug 1Pushed 7y agoCompare

[ Source](https://github.com/yhoiseth/StringyInflector)[ Packagist](https://packagist.org/packages/yhoiseth/stringy-inflector)[ Docs](https://github.com/yhoiseth/StringyInflector)[ RSS](/packages/yhoiseth-stringy-inflector/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

StringyInflector
================

[](#stringyinflector)

[![Build Status](https://camo.githubusercontent.com/d716d31e4ed756b0e43a67178b8ff7dc9fbeab5a2872320917653c078b78a916/68747470733a2f2f7472617669732d63692e6f72672f79686f69736574682f537472696e6779496e666c6563746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yhoiseth/StringyInflector)

A PHP library that helps you capitalize personal names. Extends [Stringy](https://github.com/danielstjules/Stringy), a PHP string manipulation library with multibyte support.

Personal names such as "Marcus Aurelius" are sometimes typed incorrectly using lowercase ("marcus aurelius").

Capitalizing "marcus aurelius" is a simple task. But some names are less simple. Consider "Zeno of Citium". If you have the string "zeno of citium", you should capitalize "zeno" and "citium", but not "of".

StringyInflector helps you capitalize personal names by checking against a list of special cases that shouldn't be capitalized. If the name is in the list, it isn't capitalized.

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

[](#installation)

```
composer require yhoiseth/stringy-inflector
```

Usage
-----

[](#usage)

```
