This site is built library CakePHP "Inflector" test site.

※ This site is using the CakePHP 2.7.5.

The result of running Inflector

Inflector::pluralize matches
Inflector::singularize match
Inflector::camelize Match
Inflector::underscore match
Inflector::humanize Match
Inflector::tableize matches
Inflector::classify Match
Inflector::variable match
Inflector::slug match

CakePHP Conventions

model
Model Name Match UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName Match.php UpperCamelCase,single
Inflector::singularize(Inflector::classify($word)).'.php';
Table Name matches underscored,lower,plural
Inflector::tableize($word);
controller
Controller Name Matches UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName MatchesController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName MatchesController.php UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller.php';
for uses Match Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder Matches Controller Name
Inflector::pluralize(Inflector::classify($word));
View's FileName match.php Action Name
Inflector::underscore($word).'.php';

"Inflector" is?

The Inflector class takes a string and can manipulate it to handle word variations such as pluralizations or camelizing and is normally accessed statically. Example: Inflector::pluralize('example'); returns "examples". (From the official site

References

Similar sites can