codappix / typo3-page-specific-typoscript
Loads TypoScript files from file system, based on current Page
Installs: 532
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
pkg:composer/codappix/typo3-page-specific-typoscript
Requires
- php: ^8.1 || ^8.2 || ^8.3 || ^8.4
- typo3/cms-core: ^12.4 || ^13.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- typo3/testing-framework: ^8.2
This package is auto-updated.
Last update: 2025-10-23 14:53:44 UTC
README
Hooks into TYPO3 system to load TypoScript files based on current TYPO3 page.
Why
There are a lot of legacy TYPO3 sites. Those often have multiple sys_template
records, loading TypoScript on specific pages.
This prevents tools like fractor to migrate the TypoScript.
Also many developers consider it best practice to not maintain TypoScript or Page TSconfig within the database. Instead it should be in the file system, allowing version control and deployment.
Usage
Once installed, the extension will check the following locations, within any active TYPO3 extension and include found files if any:
TypoScript Setup: Configuration/TypoScript/PageSpecific/<pageUid>/setup.typoscript
TypoScript Constants: Configuration/TypoScript/PageSpecific/<pageUid>/constants.typoscript
Page TSconfig: Configuration/TSconfig/PageSpecific/<pageUid>/Setup.tsconfig
TODO
- Implement use case for User TSconfig.