Making the extension installable

To make your TYPO3 extension installable, follow these steps:

Add example-extension/composer.json

Your composer.json file should contain the following essential information (for more information see composer.json):

  • Composer name (invisible in Extension Manager)
  • Composer type
  • Extension description
  • Dependencies
  • Extension key

A minimal example:

{
  "name": "vendor/example-extension",
  "description": "description for example extension",
  "type": "typo3-cms-extension",
  "require": {
    "php": "~8.2.0 || ~8.3.0",
    "typo3/cms-core": "^12.4.0",
    "typo3/cms-extbase": "^12.4.0",
    "typo3/cms-fluid": "^12.4.0",
    "typo3/cms-frontend": "^12.4.0"
  },
  "extra": {
    "typo3/cms": {
      "extension-key": "example_extension"
    }
  }
}
Copied!

Add example-extension/Resources/Public/Icons/Extension.svg