Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Packages

No packages published