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 block,1714010799s
Inflector::singularize block,1714010799
Inflector::camelize Block,1714010799
Inflector::underscore block,1714010799
Inflector::humanize Block,1714010799
Inflector::tableize block,1714010799s
Inflector::classify Block,1714010799
Inflector::variable block,1714010799
Inflector::slug block_1714010799

CakePHP Conventions

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