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

※ This site is using the CakePHP 1.2.6.

The result of running Inflector

Inflector::pluralize boards
Inflector::singularize board
Inflector::camelize Board
Inflector::underscore board
Inflector::humanize Board
Inflector::tableize boards
Inflector::classify Board
Inflector::variable board
Inflector::slug board

CakePHP Conventions

model
Model Name Board UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName board.php underscored,lower,single
Inflector::singularize(Inflector::slug(strtolower($word))).'.php';
Table Name boards underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
controller
Controller Name Boards UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName BoardsController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName boards_controller.php underscored,lower,plural,with '_controller'
Inflector::pluralize(Inflector::slug(strtolower($word))).'_controller.php';
for uses Board Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder boards underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
View's FileName board.php underscored,lower,single
Inflector::singularize(Inflector::slug(strtolower($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