bartacus/platformsh-bundle

Support bundle for using Upsun together with TYPO3

Maintainers

Package info

github.com/Bartacus/BartacusPlatformshBundle

Type:typo3-cms-extension

pkg:composer/bartacus/platformsh-bundle

Transparency log

Statistics

Installs: 36 069

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

6.0.0 2026-07-12 19:18 UTC

README

This bundle provides some helper functionality if you use TYPO3 on the Upsun cloud hosting platform.

Usage

In your config/system/additional.php, you can use the UpsunConfigLoader to automatically configure your TYPO3 instance:

use Bartacus\Bundle\PlatformshBundle\UpsunConfigLoader;

$upsunLoader = new UpsunConfigLoader();
$upsunLoader->applyDatabaseConfiguration('database');
$upsunLoader->applyRedisCaching('rediscache');
$upsunLoader->applySolrService('solrsearch');
$upsunLoader->mapRoutes(['main']);

Methods

  • applyDatabaseConfiguration(string $relationshipName = 'database'): Maps the database relationship to $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default'].
  • applyRedisCaching(string $relationshipName = 'rediscache'): Sets up Redis for common TYPO3 cache groups (pages, pagesection, hash, extbase).
  • mapRoutes(array $siteIdentifiers = ['main']): Maps Upsun routes to environment variables (e.g., TYPO3_BASE_DOMAIN_MAIN).