mmucklo/inflect

inflect - a memoizing inflector for php

Installs: 16 403 603

Dependents: 20

Suggesters: 0

Security: 0

Stars: 41

Watchers: 4

Forks: 6

Open Issues: 1

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

This package is auto-updated.

Last update: 2024-10-18 16:54:51 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"