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 nodes
Inflector::singularize node
Inflector::camelize Node
Inflector::underscore node
Inflector::humanize Node
Inflector::tableize nodes
Inflector::classify Node
Inflector::variable node
Inflector::slug node

CakePHP Conventions

model
Model Name Node UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName Node.php UpperCamelCase,single
Inflector::singularize(Inflector::classify($word)).'.php';
Table Name nodes underscored,lower,plural
Inflector::tableize($word);
controller
Controller Name Nodes UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName NodesController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName NodesController.php UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller.php';
for uses Node Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder Nodes Controller Name
Inflector::pluralize(Inflector::classify($word));
View's FileName node.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