mmucklo/inflect

inflect - a memoizing inflector for php

Installs: 3 328 346

Dependents: 11

Suggesters: 0

Security: 0

Stars: 31

Watchers: 3

Forks: 6

Open Issues: 2

v0.3.0 2015-05-16 04:16 UTC

This package is auto-updated.

Last update: 2020-03-18 06:53:32 UTC


README

Inflect is an Inflector for PHP

Installation:

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

composer.json

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

Usage:

use Inflect\Inflect;

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

Notes:

Many thanks to original author Sho Kuwamoto"