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 metereds
Inflector::singularize metered
Inflector::camelize Metered
Inflector::underscore metered
Inflector::humanize Metered
Inflector::tableize metereds
Inflector::classify Metered
Inflector::variable metered
Inflector::slug metered

CakePHP Conventions

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