oodle/inflect

inflect - a memoizing inflector for php

Installs: 8 133

Dependents: 5

Watchers: 2

Forks: 4

Language: PHP

v0.2.0 2013-11-30 06:16 UTC

README

Inflect is an Inflector for PHP

Installation:

Add this line to your composer.json "require" section:

composer.json

    "require": {
       ...
       "oodle/inflect": "*"

Usage:

use Inflect\Inflect;

echo Inflect::singularize('tests');
echo Inflect::pluralize('test');

Notes:

Many thanks to original author Sho Kuwamoto"