[TYPO3-mvc] Re: Class not autoloaded

Philipp Wrann philippwrann at gmail.com
Mon Nov 16 08:32:38 CET 2015


If you are using a composer based installation you have to stick at it and dont mix things up. You need a composer autoload configuration for that namespace, simply put it in your base composer.json within autoload.psr-4.

autoload : {
psr-4 : {
'My\\OwnExt\\ ' => 'web/typo3conf/ext/ownext/Classes/'
}
}

Typo3 flushes the autoload cache when extensions are installed or uninstalled.


More information about the TYPO3-project-typo3v4mvc mailing list