Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here: TYPO3 ELTS.
Namespaces and class names of user files
The namespace and class names of user files follow the same rules as class names of the TYPO3 Core files do.
The namespace declaration of each user file should show where the file
belongs inside its extension. The namespace starts with
"Vendor\
, where "Vendor" is your vendor name and
"MyNamespace" is the extension name in UpperCamelCase. Then follows the
name of the subfolder of Classes/
, in which the file is located
(if any). E.g. the file
typo3conf/
with the class Aliases
is in the namespace
"\Dmitry
".
User files with these class names are commonly found in the
typo3conf/
directory. Optionally these files can be
installed to the typo3/
directory to be shared by many
TYPO3 installations.