itzbund / gsb-core
Core functionality and base configuration for Government Site Builder (GSB) 11. This is part of the Government Site Builder (GSB) 11. The GSB 11 is a measure of the Dienstekonsolidierung Bund (DKB) of the Federal Ministry of the Interior and for Homeland (BMI) and is carried out on behalf of the Inf
Installs: 3 342
Dependents: 3
Suggesters: 2
Security: 0
Type:typo3-cms-extension
pkg:composer/itzbund/gsb-core
Requires
- php: ^8.3
- ext-redis: *
- b13/container: 3.1.10
- b13/permission-sets: ^1.0
- featdd/dpn-glossary: ^6.1
- ichhabrecht/content-defender: 3.5.3
- kitzberger/form-mailtext: ^3.0
- symfony/serializer-pack: ^1.3
- typo3/cms-backend: ^13.4
- typo3/cms-belog: ^13.4
- typo3/cms-beuser: ^13.4
- typo3/cms-core: 13.4.18
- typo3/cms-dashboard: ^13.4
- typo3/cms-extbase: ^13.4
- typo3/cms-extensionmanager: ^13.4
- typo3/cms-filelist: ^13.4
- typo3/cms-filemetadata: ^13.4
- typo3/cms-fluid: ^13.4
- typo3/cms-fluid-styled-content: ^13.4
- typo3/cms-form: ^13.4
- typo3/cms-frontend: ^13.4
- typo3/cms-impexp: ^13.4
- typo3/cms-info: ^13.4
- typo3/cms-install: ^13.4
- typo3/cms-linkvalidator: ^13.4
- typo3/cms-lowlevel: ^13.4
- typo3/cms-opendocs: ^13.4
- typo3/cms-recycler: ^13.4
- typo3/cms-redirects: ^13.4
- typo3/cms-reports: ^13.4
- typo3/cms-rte-ckeditor: ^13.4
- typo3/cms-scheduler: ^13.4
- typo3/cms-seo: ^13.4
- typo3/cms-setup: ^13.4
- typo3/cms-sys-note: ^13.4
- typo3/cms-tstemplate: ^13.4
- typo3/cms-viewpage: ^13.4
- typo3/cms-workspaces: ^13.4
Requires (Dev)
- ergebnis/composer-normalize: ^2.47.0
- helmich/typo3-typoscript-lint: ^3.3.0
- phpmd/phpmd: ^2.13
- ssch/typo3-rector: ^3.5
- typo3/coding-standards: ^0.8
- typo3/testing-framework: ^8.2
Suggests
- 12.x-dev
- dev-main / 4.x-dev
- dev-next / 4.x-dev
- v4.0.0-rc.5
- v4.0.0-rc.4
- v4.0.0-rc.3
- v4.0.0-rc.2
- v4.0.0-rc.1
- v4.0.0-beta.44
- v4.0.0-beta.43
- v4.0.0-beta.42
- v4.0.0-beta.41
- v4.0.0-beta.40
- v4.0.0-beta.39
- v4.0.0-beta.38
- v4.0.0-beta.37
- v4.0.0-beta.36
- v4.0.0-beta.35
- v4.0.0-beta.34
- v4.0.0-beta.33
- v4.0.0-beta.32
- v4.0.0-beta.31
- v4.0.0-beta.30
- v4.0.0-beta.29
- v4.0.0-beta.28
- v4.0.0-beta.27
- v4.0.0-beta.26
- v4.0.0-beta.25
- v4.0.0-beta.24
- v4.0.0-beta.23
- v4.0.0-beta.22
- v4.0.0-beta.21
- v4.0.0-beta.20
- v4.0.0-beta.19
- v4.0.0-beta.18
- v4.0.0-beta.17
- v4.0.0-beta.16
- v4.0.0-beta.15
- v4.0.0-beta.14
- v4.0.0-beta.13
- v4.0.0-beta.12
- v4.0.0-beta.11
- v4.0.0-beta.10
- v4.0.0-beta.9
- v4.0.0-beta.8
- v4.0.0-beta.7
- v4.0.0-beta.6
- v4.0.0-beta.5
- v4.0.0-beta.4
- v4.0.0-beta.3
- v4.0.0-beta.2
- v4.0.0-beta.1
- v3.15.7
- v3.15.6
- v3.15.6-rc.1
- v3.15.5
- v3.15.4
- v3.15.3
- v3.15.2
- v3.15.1
- v3.15.0
- v3.15.0-rc.6
- v3.15.0-rc.5
- v3.15.0-rc.4
- v3.15.0-rc.3
- v3.15.0-rc.2
- v3.15.0-rc.1
- v3.14.0
- v3.14.0-rc.23
- v3.14.0-rc.22
- v3.14.0-rc.21
- v3.14.0-rc.20
- v3.14.0-rc.19
- v3.14.0-rc.18
- v3.14.0-rc.17
- v3.14.0-rc.16
- v3.14.0-rc.15
- v3.14.0-rc.14
- v3.14.0-rc.13
- v3.14.0-rc.12
- v3.14.0-rc.11
- v3.14.0-rc.10
- v3.14.0-rc.9
- v3.14.0-rc.8
- v3.14.0-rc.7
- v3.14.0-rc.6
- v3.14.0-rc.5
- v3.14.0-rc.4
- v3.14.0-rc.3
- v3.14.0-rc.2
- v3.14.0-rc.1
- v3.13.0
- v3.13.0-rc.2
- v3.13.0-rc.1
- v3.12.2-rc.4
- v3.12.2-rc.3
- v3.12.2-rc.2
- v3.12.2-rc.1
- v3.12.1
- v3.12.0
- v3.12.0-rc.6
- v3.12.0-rc.5
- v3.12.0-rc.4
- v3.12.0-rc.3
- v3.12.0-rc.2
- v3.12.0-rc.1
- v3.11.0
- v3.11.0-rc.3
- v3.11.0-rc.2
- v3.11.0-rc.1
- v3.10.1-rc.1
- v3.10.0
- v3.10.0-rc.6
- v3.10.0-rc.5
- v3.10.0-rc.4
- v3.10.0-rc.3
- v3.10.0-rc.2
- v3.10.0-rc.1
- v3.9.1
- v3.9.1-rc.2
- v3.9.1-rc.1
- v3.9.0
- v3.9.0-rc.11
- v3.9.0-rc.10
- v3.9.0-rc.9
- v3.9.0-rc.8
- v3.9.0-rc.7
- v3.9.0-rc.6
- v3.9.0-rc.5
- v3.9.0-rc.4
- v3.9.0-rc.3
- v3.9.0-rc.2
- v3.9.0-rc.1
- v3.8.1-rc.1
- v3.8.0
- v3.8.0-rc.6
- v3.8.0-rc.5
- v3.8.0-rc.4
- v3.8.0-rc.3
- v3.8.0-rc.2
- v3.8.0-rc.1
- v3.7.1-rc.2
- v3.7.1-rc.1
- v3.7.0
- v3.7.0-rc.5
- v3.7.0-rc.4
- v3.7.0-rc.3
- v3.7.0-rc.2
- v3.7.0-rc.1
- v3.6.1-rc.1
- v3.6.0
- v3.6.0-rc.2
- v3.6.0-rc.1
- v3.5.1-rc.1
- v3.5.0
- v3.5.0-rc.3
- v3.5.0-rc.2
- v3.5.0-rc.1
- v3.4.1-rc.2
- v3.4.1-rc.1
- v3.4.0
- v3.4.0-rc.7
- v3.4.0-rc.6
- v3.4.0-rc.5
- v3.4.0-rc.4
- v3.4.0-rc.3
- v3.4.0-rc.2
- v3.4.0-rc.1
- v3.3.0
- v3.3.0-rc.6
- v3.3.0-rc.5
- v3.3.0-rc.4
- v3.3.0-rc.3
- v3.3.0-rc.2
- v3.3.0-rc.1
- v3.2.0
- v3.2.0-rc.13
- v3.2.0-rc.12
- v3.2.0-rc.11
- v3.2.0-rc.10
- v3.2.0-rc.9
- v3.2.0-rc.8
- v3.2.0-rc.7
- v3.2.0-rc.6
- v3.2.0-rc.5
- v3.2.0-rc.4
- v3.2.0-rc.3
- v3.2.0-rc.2
- v3.2.0-rc.1
- v3.1.1
- v3.1.1-rc.1
- v3.1.0
- v3.1.0-rc.16
- v3.1.0-rc.15
- v3.1.0-rc.14
- v3.1.0-rc.13
- v3.1.0-rc.12
- v3.1.0-rc.11
- v3.1.0-rc.10
- v3.1.0-rc.9
- v3.1.0-rc.8
- v3.1.0-rc.7
- v3.1.0-rc.6
- v3.1.0-rc.5
- v3.1.0-rc.4
- v3.1.0-rc.3
- v3.1.0-rc.2
- v3.1.0-rc.1
- v3.0.0
- v3.0.0-rc.1
- v2.11.1-rc.1
- v2.11.0
- v2.11.0-rc.2
- v2.11.0-rc.1
- v2.10.1-rc.3
- v2.10.1-rc.2
- v2.10.1-rc.1
- v2.10.0
- v2.10.0-rc.7
- v2.10.0-rc.6
- v2.10.0-rc.5
- v2.10.0-rc.4
- v2.10.0-rc.3
- v2.10.0-rc.2
- v2.10.0-rc.1
- v2.9.1
- v2.9.1-rc.1
- v2.9.0
- v2.9.0-rc.2
- v2.9.0-rc.1
- v2.8.2-rc.3
- v2.8.2-rc.2
- v2.8.2-rc.1
- v2.8.1
- v2.8.1-rc.2
- v2.8.1-rc.1
- v2.8.0
- v2.8.0-rc.6
- v2.8.0-rc.5
- v2.8.0-rc.4
- v2.8.0-rc.3
- v2.8.0-rc.2
- v2.8.0-rc.1
- v2.7.0
- v2.7.0-rc.11
- v2.7.0-rc.10
- v2.7.0-rc.9
- v2.7.0-rc.8
- v2.7.0-rc.7
- v2.7.0-rc.6
- v2.7.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
- v2.1.0-rc.17
- v2.1.0-rc.16
- v2.1.0-rc.15
- v2.1.0-rc.14
- v2.1.0-rc.13
- v2.1.0-rc.12
- v2.1.0-rc.11
- v2.1.0-rc.10
- v2.1.0-rc.9
- v2.1.0-rc.8
- v2.1.0-rc.7
- v2.1.0-rc.6
- v2.1.0-rc.5
- v2.1.0-rc.4
- v2.1.0-rc.3
- v2.1.0-rc.2
- v2.1.0-rc.1
- v2.0.1-rc.1
- v2.0.0
- v1.32.0
- v1.31.0
- v1.30.0
- v1.29.0
- v1.28.0
- v1.27.0
- v1.26.0
- v1.25.0
- v1.24.0
- v1.23.0
- v1.22.0
- v1.21.0
- v1.20.0
- v1.19.0
- v1.18.0
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.1
- v1.10.0
- v1.9.1
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- dev-release
- dev-t3v13
This package is auto-updated.
Last update: 2025-10-09 18:46:59 UTC
README
GSB 11 Extension gsb_core
About
The extension gsb_core is the mainstay of the several GSB 11 extensions. The extension configures TYPO3 and extends it with selected extensions to provide better structured and appealing content while optimizing accessibility.
Installation
The best way to install this extension is to start with the GSB Sitepackage Kickstarter extension.
Quick installation without GSB Sitepackage Kickstarter
In a composer-based TYPO3 installation you can install the extension EXT:gsb_core via composer:
composer config -g gitlab-domains gitlab.opencode.de && \
composer config -g repositories.gsb-core vcs https://gitlab.opencode.de/bmi/government-site-builder-11/extensions/gsb_core.git
composer require itzbund/gsb-core
In TYPO3 installations above version 11.5 the extension will be automatically installed. You do not have to activate it manually.
Feature Flags
This document explains how to use feature flags. We separate between two different kinds of feature flags:
Feature
Feature flags allow you to enable or disable specific features in your installation. \ This is of particular importance to disable features that have not passed the approval process.
Optional
Optional flags allow you to (de-)activate specific features for your installation. \ A practical use for these is the (de-)activation of an extension.
For more information about feature flags in TYPO3, please refer to the official TYPO3 Documentation on Feature Flags.
Feature Flag Configuration
Feature and Optional flags are configured in the .env
or the local-dev/.ddev/docker-compose.environment.yaml
file on ddev machine. To add a feature flag, use the following syntax:
# FEATURE FLAG
- TYPO3__SYS__features__GSB11_FEATURE_123_NEW_FEATURE=%const(bool:true)%
# OPTIONAL FLAG
- TYPO3__SYS__features__GSB11_OPTION_123_ENABLE_EXTENSION=%const(bool:true)%
In this example, both feature flags, GSB11_FEATURE_123_NEW_FEATURE
and GSB11_OPTION_123_ENABLE_EXTENSION
,
are set to true
. To disable the feature, change the value to false
or delete the setting.
Feature Flag Truth Table
This table illustrates the behavior of feature flags in various states.
Feature Flag State | Evaluated Value | Description |
---|---|---|
featureFlag = true | true | The feature is explicitly enabled. |
featureFlag = false | false | The feature is explicitly disabled. |
featureFlag = '' | false | An empty value is treated as false . |
featureFlag not exist | false | A non-existent flag defaults to false . |
Usage in PHP Code
To use a feature flag in your PHP code, you can check the flag's value with the isFeatureEnabled()
method of the Features
class:
if (GeneralUtility::makeInstance(Features::class)->isFeatureEnabled('GSB11_FEATURE_123_NEW_FEATURE')) {
echo 'Feature is enabled';
// Feature-specific code
...
}
Usage in Fluid Templates
Feature flags can also be checked in your Fluid templates with TYPO3's Feature ViewHelper.
Basic usage
<f:feature name="GSB11_FEATURE_123_NEW_FEATURE">
This is being shown if the flag is enabled
</f:feature>
Feature > then > else
<f:feature name="GSB11_OPTION_123_ENABLE_EXTENSION">
<f:then>
Flag is enabled
</f:then>
<f:else>
Flag is undefined or not enabled
</f:else>
</f:feature>
Current feature flags of gsb_core
Feature flag | Description |
---|---|
brandingBackendLogin | At default branding to the login screen |
Usage
Nothing to do.
Site package
Site packages in EXT:gsb_core
are alike to sets in TYPO3 13+.
A package is available in the site configuration if it matches one of the following criteria:
- it's extension key includes
gsb_core
orsite
AND does not includeimpexp
- it has the following configuration in it's
composer.json
:
{
"extra": {
"itzbund/gsb-core": {
"isSitePackage": true
}
}
}
If a package has been selected as a site package, it's typoscript configuration (Configuration/TypoScript/{constants|setttings}.typoscript
) will be loaded as the root template, which allows for zero configuration deployments.
Further Reading
For more information about feature flags in TYPO3, please refer to the TYPO3 Documentation on Feature Flags.
Middleware based endpoints
/api/version
For infrastructure reasons this extension provides a version endpoint at /api/version
which returns a json object with the following structure
{
"versions": {
"gsb": "[string|null]",
"container": "[string|null]",
"helmChart": "[string|null]",
"TYPO3": "[string|null]",
"packageCacheHash": "[string|null]"
}
}
This endpoint can be used to decide whether a cache flush might be necessary after a deployment (or: whether it's not - because the version hasn't changed).
/api/health
This extension provides a health endpoint at /api/health
which returns a response without a body and status code 204.
⚠️ Warning: on production systems you should restrict access to all
/api
paths from the outside to not expose critical system information.
Contribute
As with TYPO3, we encourage you to join the project by submitting changes. Development of the GSB 11 mainly happens in the GSB 11 TYPO3 extension repositories.
To get started, have a look at our detailed contribution walkthrough.