Skip to content

Instantly share code, notes, and snippets.

View stigfaerch's full-sized avatar

Stig Nørgaard Færch stigfaerch

View GitHub Profile
@stigfaerch
stigfaerch / composer autoload custom extension
Last active August 22, 2018 13:43 — forked from t3easy/README.md
Non composer extension insight composer mode TYPO3
1. Copy your extension to `[web/]typo3conf/ext/` of your composer mode TYPO3 (or kickstart one with extension_builder).
2. Add autoload entry to your root composer.json (that one which requires "typo3/cms")
```json
"autoload": {
"psr-4": {
"T3easy\\MyExt\\": "web/typo3conf/ext/my_ext/Classes/"
}
}
```
3. Run `composer dump-autoload -a` to update the autoloader.