2017 © Pedro Peláez
 

library stringy-inflector

A PHP library that helps you capitalize personal names

image

yhoiseth/stringy-inflector

A PHP library that helps you capitalize personal names

  • Sunday, August 7, 2016
  • by yhoiseth
  • Repository
  • 1 Watchers
  • 0 Stars
  • 90 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 25 % Grown

The README.md

StringyInflector

Build Status, (*1)

A PHP library that helps you capitalize personal names. Extends Stringy, a PHP string manipulation library with multibyte support., (*2)

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

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"., (*4)

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., (*5)

Installation

composer require yhoiseth/stringy-inflector

Usage

<?php

use StringyInflector\StringyInflector as S;

$stringy = S::create('zeno of citium');

echo $stringy->capitalizePersonalName(); // 'Zeno of Citium'

The Versions

07/08 2016

dev-master

9999999-dev https://github.com/yhoiseth/StringyInflector

A PHP library that helps you capitalize personal names

  Sources   Download

MIT

The Requires

 

utility manipulation string name personal uppercase capitalize

06/08 2016

v1.0

1.0.0.0 https://github.com/yhoiseth/StringyInflector

A PHP library that helps you capitalize personal names

  Sources   Download

MIT

The Requires

 

utility manipulation string name personal uppercase capitalize

04/08 2016

v0.0.3

0.0.3.0 https://github.com/yhoiseth/StringyInflector

A PHP library that helps you capitalize personal names

  Sources   Download

MIT

The Requires

 

utility manipulation string name personal uppercase capitalize

04/08 2016

v0.0.2

0.0.2.0 https://github.com/yhoiseth/StringyInflector

A PHP library that helps you capitalize personal names

  Sources   Download

MIT

The Requires

 

utility manipulation string name personal uppercase capitalize

01/08 2016

v0.0.1

0.0.1.0 https://github.com/yhoiseth/CapitalizePersonalNamesWithStringy

A PHP library that helps you capitalize personal names

  Sources   Download

MIT

The Requires

 

utility manipulation string name personal uppercase capitalize