This site is built library CakePHP "Inflector" test site.
※ This site is using the CakePHP 2.7.5.
Enter the text you want to convert, "Send" button please.
The result of running Inflector
| Inflector::pluralize | handovers |
|---|---|
| Inflector::singularize | handover |
| Inflector::camelize | Handover |
| Inflector::underscore | handover |
| Inflector::humanize | Handover |
| Inflector::tableize | handovers |
| Inflector::classify | Handover |
| Inflector::variable | handover |
| Inflector::slug | handover |
CakePHP Conventions
| model | ||
|---|---|---|
| Model Name | Handover | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)); |
| Model's FileName | Handover.php | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)).'.php'; |
| Table Name | handovers | underscored,lower,plural Inflector::tableize($word); |
| controller | ||
|---|---|---|
| Controller Name | Handovers | UpperCamelCase,plural Inflector::pluralize(Inflector::classify($word)); |
| Controller's ClassName | HandoversController | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller'; |
| Controller's FileName | HandoversController.php | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller.php'; |
| for uses | Handover | Model Name Inflector::singularize(Inflector::classify($word)); |
| view | ||
|---|---|---|
| View Folder | Handovers | Controller Name Inflector::pluralize(Inflector::classify($word)); |
| View's FileName | handover.php | Action Name Inflector::underscore($word).'.php'; |