Skip to content

TYPO3 Extension that replaces the stock environment variable processor by Symfony's

Notifications You must be signed in to change notification settings

plan2net/typo3-symfony-env-vars

 
 

Repository files navigation

Symfony Environment Variables

This package allows to use the Symfony environment variable processor in TYPO3 configuration files.

Sample usage

# public/typo3conf/ext/mysite/Configuration/Services.yaml
parameters:
  default_host: www.example.com.test
  env(TYPO3_ENABLE_LANGUAGE_DE): true
  env(TYPO3_ENABLE_LANGUAGE_FR): false
# config/sites/mysite/config.yaml
base: 'https://%env(default:default_host:TYPO3_HOST)%/'
languages:
  -
    title: 'de'
    languageId: 1
    enabled: '%env(bool:TYPO3_ENABLE_LANGUAGE_DE)%'
    
  -
    title: 'fr'
    languageId: 2
    enabled: '%env(bool:TYPO3_ENABLE_LANGUAGE_FR)%'
    

About

TYPO3 Extension that replaces the stock environment variable processor by Symfony's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%