Skip to content
Inflector for PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Inflect
tests
.gitignore
.travis.yml
CHANGELOG
LICENSE
Makefile
README.md
autoload.php.dist
composer.json
phpunit.xml-dist

README.md

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"

You can’t perform that action at this time.