---
title: "ext_typoscript_setup.typoscript"
manual: "TYPO3 Explained"
version: "12.4"
permalink: "https://docs.typo3.org/permalink/t3coreapi:ext-typoscript-setup-typoscript@12.4"
source: "ExtensionArchitecture/FileStructure/ExtTyposcriptSetupTyposcript.rst"
rendered: "2026-10-21T15:29:37+00:00"
---

> [!WARNING]
> **Attention**
>
> TYPO3 v12 has reached end-of-life as of April 30th 2026 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 v12 here:
> [TYPO3 ELTS](https://typo3.com/services/extended-support-elts).

# `ext_typoscript_setup.typoscript` {#ext-typoscript-setup-typoscript}

-   **ext_typoscript_setup.typoscript**

    -   *Scope:* extension
    -   *Path (Composer):* packages/my_extension/ext_typoscript_setup.typoscript
    -   *Path (Classic):* typo3conf/ext/my_extension/ext_typoscript_setup.typoscript

    Preset TypoScript setup. Will be included in the setup section of all
    TypoScript templates.

> [!WARNING]
> **Attention**
>
> Use such a file if you absolutely need to load some TypoScript (because you
> would get serious errors without it). Otherwise static templates or
> usage of the *Extension Management API* of class
> `\TYPO3\CMS\Core\Utility\ExtensionManagementUtility` are preferred.
