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 accesses
Inflector::singularize access
Inflector::camelize Access
Inflector::underscore access
Inflector::humanize Access
Inflector::tableize accesses
Inflector::classify Access
Inflector::variable access
Inflector::slug access

CakePHP Conventions

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