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 baseapp& amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=tests
Inflector::singularize baseapp& amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test
Inflector::camelize Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test
Inflector::underscore baseapp& amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test
Inflector::humanize Baseapp& Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test
Inflector::tableize baseapp& amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=tests
Inflector::classify Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test
Inflector::variable baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test
Inflector::slug baseapp_amp_amp_amp_amp_amp_amp_amp_amp_amp_amp_amp_amp_wd_test

CakePHP Conventions

model
Model Name Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test.php UpperCamelCase,single
Inflector::singularize(Inflector::classify($word)).'.php';
Table Name baseapp& amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=tests underscored,lower,plural
Inflector::tableize($word);
controller
Controller Name Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=tests UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=testsController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=testsController.php UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller.php';
for uses Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder Baseapp&Amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=tests Controller Name
Inflector::pluralize(Inflector::classify($word));
View's FileName baseapp& amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;wd=test.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