TYPO3 v7 has reached its end-of-life November 30th, 2018 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.

File names

The file name describes the functionality included in the file. It consists of one or more nouns, written in UpperCamelCase. For example in the frontend system extension there is the file ContentObject/ContentObjectRenderer.php.

It is recommended to use only PHP classes and avoid non-class files.

Files that contain PHP interfaces must have the file name end on "Interface", e.g. FileListEditIconHookInterface.php.

For information on class names for user files, see the according section of this document.

One file can contain only one class or interface.

Extension for PHP files is always php.

Unit test files

Unit test files are located in the "Tests/Unit/" folder in the according extension, within a sub-structure matching the structure in the Classes/ folder.

The naming conventions for the files are different from those explained above: "Test" is appended at the end of the name, before ".php".


The unit test class file for typo3/sysext/core/Classes/Database/PreparedStatement.php is:


See more about unit testing in the "Unit tests" chapter.