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 | baseapp&s |
|---|---|
| Inflector::singularize | baseapp& |
| Inflector::camelize | Baseapp& |
| Inflector::underscore | baseapp& |
| Inflector::humanize | Baseapp& |
| Inflector::tableize | baseapp&s |
| Inflector::classify | Baseapp& |
| Inflector::variable | baseapp& |
| Inflector::slug | baseapp_amp |
CakePHP Conventions
| model | ||
|---|---|---|
| Model Name | Baseapp& | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)); |
| Model's FileName | Baseapp&.php | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)).'.php'; |
| Table Name | baseapp&s | underscored,lower,plural Inflector::tableize($word); |
| controller | ||
|---|---|---|
| Controller Name | Baseapp&s | UpperCamelCase,plural Inflector::pluralize(Inflector::classify($word)); |
| Controller's ClassName | Baseapp&sController | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller'; |
| Controller's FileName | Baseapp&sController.php | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller.php'; |
| for uses | Baseapp& | Model Name Inflector::singularize(Inflector::classify($word)); |
| view | ||
|---|---|---|
| View Folder | Baseapp&s | Controller Name Inflector::pluralize(Inflector::classify($word)); |
| View's FileName | baseapp&.php | Action Name Inflector::underscore($word).'.php'; |