oodle/inflect

inflect - a memoizing inflector for php

Maintainers

Details

github.com/oodle/inflect

Source

Installs: 513 730

Dependents: 12

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 6

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

This package is auto-updated.

Last update: 2024-11-18 17:02:03 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"