Skip to content

mmucklo/inflect

Repository files navigation

Inflect

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"

About

Inflector for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published